From 7b40c63e9555887c6590ddc73abdbe79486f8150 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 13 Dec 2015 10:57:12 +0000 Subject: [PATCH] games/0ad: Fixed build with gcc-5.2.0. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- games/0ad/0ad.SlackBuild | 5 +++-- 1 file 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