aboutsummaryrefslogtreecommitdiff
path: root/games/0ad/0ad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/0ad/0ad.SlackBuild')
-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