games/angband: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
2f47ddb87f
commit
90005ad2bf
|
@ -7,7 +7,7 @@
|
|||
|
||||
PRGNAM=angband
|
||||
VERSION=v3.3.2
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -50,6 +50,7 @@ chmod -R u+w,go+r-w,a-s .
|
|||
|
||||
# --enable-gtk and setgid are incompatible, so we'll not build the gtk part
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
LDFLAGS="-lSDL" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-libpath=/usr/share/games/angband \
|
||||
|
|
Loading…
Reference in New Issue