summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/klick/klick.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/klick/klick.SlackBuild b/audio/klick/klick.SlackBuild
index 704733c796..deec542651 100644
--- a/audio/klick/klick.SlackBuild
+++ b/audio/klick/klick.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170620 bkw: add -fpermissive to cflags, for -current's gcc7.
+
PRGNAM=klick
VERSION=${VERSION:-0.12.2}
BUILD=${BUILD:-1}
@@ -56,7 +58,7 @@ find -L . \
OPTS="RUBBERBAND=${RUBBERBAND:-no} OSC=${LIBLO:-yes}"
# hate scons. This mess forces CFLAGS.
-SCONSCFLAGS=$( echo "$SLKCFLAGS" | sed "s/\([^ ]\+\)/'\1', /g" )
+SCONSCFLAGS=$( echo "$SLKCFLAGS -fpermissive" | sed "s/\([^ ]\+\)/'\1', /g" )
sed -i "s/'-O2', /$SCONSCFLAGS/" SConstruct
scons $OPTS PREFIX=/usr