aboutsummaryrefslogtreecommitdiff
path: root/games/0ad
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-13 10:57:12 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit7b40c63e9555887c6590ddc73abdbe79486f8150 (patch)
treec2df676720bda061c71bf72e6682981c91010e30 /games/0ad
parentd1049a9ef436ce38b86b336dc8c30830540d25db (diff)
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>
Diffstat (limited to 'games/0ad')
-rw-r--r--games/0ad/0ad.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/0ad/0ad.SlackBuild b/games/0ad/0ad.SlackBuild
index adebd420faa5a..458e030abc807 100644
--- a/games/0ad/0ad.SlackBuild
+++ b/games/0ad/0ad.SlackBuild
@@ -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