summaryrefslogtreecommitdiffstats
path: root/development/hexcurse
diff options
context:
space:
mode:
author B. Watson2021-08-31 09:21:19 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:51:55 +0200
commiteb02e789e5eac7d570a34048007e86c17c0fee43 (patch)
treee2960be119dad39187800aec4d47412bfe572529 /development/hexcurse
parent811f7dd10035a448c383b4868064bdf3bf74dde2 (diff)
downloadslackbuilds-eb02e789e5eac7d570a34048007e86c17c0fee43.tar.gz
development/hexcurse: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hexcurse')
-rw-r--r--development/hexcurse/hexcurse.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/development/hexcurse/hexcurse.SlackBuild b/development/hexcurse/hexcurse.SlackBuild
index 7679fddec7..ef23530cd9 100644
--- a/development/hexcurse/hexcurse.SlackBuild
+++ b/development/hexcurse/hexcurse.SlackBuild
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,6 +66,8 @@ GITREV="${GITREV:-a7d60e8b}"
PATCH=v$VERSION-$GITREV.diff
[ -e $CWD/$PATCH ] && patch -p1 < $CWD/$PATCH
+SLKCFLAGS="$SLKCFLAGS -Wno-error -fcommon"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \