summaryrefslogtreecommitdiffstats
path: root/games/0ad
diff options
context:
space:
mode:
author David Spencer2015-12-13 11:57:12 +0100
committer Willy Sudiarto Raharjo2016-01-17 03:40:16 +0100
commit7b40c63e9555887c6590ddc73abdbe79486f8150 (patch)
treec2df676720bda061c71bf72e6682981c91010e30 /games/0ad
parentd1049a9ef436ce38b86b336dc8c30830540d25db (diff)
downloadslackbuilds-7b40c63e9555887c6590ddc73abdbe79486f8150.tar.gz
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 adebd420fa..458e030abc 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