-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
development/pahole: Updated for version 1.28.
- Loading branch information
1 parent
1db48d6
commit 1091d4d
Showing
2 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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} | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters