games/clonekeen: Fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
83822794e5
commit
bc667d5638
|
@ -6,7 +6,7 @@
|
|||
|
||||
PRGNAM=clonekeen
|
||||
VERSION=${VERSION:-8.4}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -49,6 +49,9 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Fix underlinking
|
||||
sed -i "s|-lstdc++|-lstdc++ -lm|" src/Makefile
|
||||
|
||||
# Makefile doesn't use CFLAGS, ugh
|
||||
sed -i "/gcc/s/-O2/$SLKCFLAGS/" src/Makefile
|
||||
|
||||
|
|
Loading…
Reference in New Issue