Skip to content

Commit

Permalink
development/pahole: Updated for version 1.28.
Browse files Browse the repository at this point in the history
  • Loading branch information
xaizek authored and sbo-bot[bot] committed Dec 20, 2024
1 parent 1db48d6 commit 1091d4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions development/pahole/pahole.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Slackware build script for pahole

# Copyright 2019-2023 xaizek <[email protected]>
# Copyright 2019-2024 xaizek <[email protected]>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
Expand All @@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=pahole
VERSION=${VERSION:-1.27}
VERSION=${VERSION:-1.28}
LIBBPF_VER="${LIBBPF_VER:-6597330c45d185381900037f0130712cd326ae59}"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
Expand Down Expand Up @@ -53,16 +53,12 @@ OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

set -e
Expand Down Expand Up @@ -90,7 +86,6 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -DDW_LANG_Haskell=DW_LANG_Haskel" \
-DCMAKE_INSTALL_PREFIX=/usr \
-D__LIB="lib${LIBDIRSUFFIX}" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
Expand Down
6 changes: 3 additions & 3 deletions development/pahole/pahole.info
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PRGNAM="pahole"
VERSION="1.27"
VERSION="1.28"
HOMEPAGE="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/"
DOWNLOAD="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.27.tar.gz \
DOWNLOAD="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.28.tar.gz \
https://github.com/libbpf/libbpf/archive/6597330c45d185381900037f0130712cd326ae59/libbpf-6597330c45d185381900037f0130712cd326ae59.tar.gz"
MD5SUM="609e3ea50e86e6a31b7c2569ae8ef80d \
MD5SUM="55327709bcb2da9be8b87ce55f667514 \
85b09e49a18f70056886ab13487231fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
Expand Down

0 comments on commit 1091d4d

Please sign in to comment.