aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7679fddec779..ef23530cd990 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 \