summaryrefslogtreecommitdiffstats
path: root/source/ap/bpe/bpe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/bpe/bpe.SlackBuild')
-rwxr-xr-xsource/ap/bpe/bpe.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/ap/bpe/bpe.SlackBuild b/source/ap/bpe/bpe.SlackBuild
index f353c1430..3ed4529e1 100755
--- a/source/ap/bpe/bpe.SlackBuild
+++ b/source/ap/bpe/bpe.SlackBuild
@@ -54,6 +54,9 @@ else
SLKCFLAGS="-O2"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-int"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-bpe
@@ -71,7 +74,8 @@ zcat $CWD/bpe.port.to.strerror.diff.gz | patch -p1 --verbose || exit 1
CFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr || exit 1
+ --prefix=/usr \
+ $ARCH-slackware-linux-gnu || exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
( cd $PKG
@@ -88,4 +92,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
makepkg -l y -c n $TMP/bpe-$VERSION-$ARCH-$BUILD.txz
-