mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/klick: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
430e2cfd4c
commit
2215904e4c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue