diff options
author | B. Watson <yalhcru@gmail.com> | 2017-06-20 23:10:14 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:47 +0700 |
commit | 2215904e4cbb31954d6e8fbdf96d8cb7520bb074 (patch) | |
tree | 57d79b6595a3da13e4b245e307ce02cba2ad21d6 | |
parent | 430e2cfd4c225ace6f9e1289bb8b4bb710ec59fb (diff) |
audio/klick: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | audio/klick/klick.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/klick/klick.SlackBuild b/audio/klick/klick.SlackBuild index 704733c796eda..deec5426514e4 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 |