diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-13 10:57:12 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 7b40c63e9555887c6590ddc73abdbe79486f8150 (patch) | |
tree | c2df676720bda061c71bf72e6682981c91010e30 /games | |
parent | d1049a9ef436ce38b86b336dc8c30830540d25db (diff) | |
download | slackbuilds-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')
-rw-r--r-- | games/0ad/0ad.SlackBuild | 5 |
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 |