summaryrefslogtreecommitdiffstats
path: root/desktop/afterstep
diff options
context:
space:
mode:
author David Spencer2015-12-08 00:00:50 +0100
committer Willy Sudiarto Raharjo2016-01-17 03:40:16 +0100
commite298c2b7d34dd27ead0e54ae927a032ebf83a09a (patch)
treecee1453d3eb4e1debe2b4e4cdb2410883a81275b /desktop/afterstep
parent5040b8bd0d71a84e4f75da20d93182b29a0bfad9 (diff)
downloadslackbuilds-e298c2b7d34dd27ead0e54ae927a032ebf83a09a.tar.gz
desktop/afterstep: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'desktop/afterstep')
-rw-r--r--desktop/afterstep/afterstep.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/afterstep/afterstep.SlackBuild b/desktop/afterstep/afterstep.SlackBuild
index dc9b4a4624..db520ea84e 100644
--- a/desktop/afterstep/afterstep.SlackBuild
+++ b/desktop/afterstep/afterstep.SlackBuild
@@ -73,8 +73,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS -std=gnu89" \
-CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+CFLAGS="$SLKCFLAGS -fgnu89-inline" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -87,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--with-imageloader="" \
--build=$ARCH-slackware-linux
-make
+make -j1
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \