aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-31 03:21:19 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:55 +0700
commiteb02e789e5eac7d570a34048007e86c17c0fee43 (patch)
treee2960be119dad39187800aec4d47412bfe572529
parent811f7dd10035a448c383b4868064bdf3bf74dde2 (diff)
development/hexcurse: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 7679fddec7798..ef23530cd990f 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 \