aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-07 23:00:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commite298c2b7d34dd27ead0e54ae927a032ebf83a09a (patch)
treecee1453d3eb4e1debe2b4e4cdb2410883a81275b /desktop
parent5040b8bd0d71a84e4f75da20d93182b29a0bfad9 (diff)
desktop/afterstep: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'desktop')
-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 dc9b4a4624094..db520ea84e5e3 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 \