|
|
@ -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 |
|
|
|