games/0ad: Fixed build with gcc-5.2.0.

Signed-off-by: David Spencer <baildon.research@googlemail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2015-12-13 10:57:12 +00:00 committed by Willy Sudiarto Raharjo
parent d1049a9ef4
commit 7b40c63e95

View file

@ -71,8 +71,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
export CPPFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS -fpermissive"
# and yes, it's really necessary to set CPPFLAGS like this :(
export CPPFLAGS="$SLKCFLAGS -fpermissive"
export LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
# Fix boost names