diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-11 17:24:39 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 4745c6586b4b1c73a13daf300c0b89b5767ab208 (patch) | |
tree | 9147dc51b92b9c168a21e828d6e4da20449f6002 /development | |
parent | 12de98b2e3d996e49ec2195579be08eb507107b8 (diff) |
development/pforth: 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 'development')
-rw-r--r-- | development/pforth/pforth.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/development/pforth/pforth.SlackBuild b/development/pforth/pforth.SlackBuild index 7a0dd178e8f8..98f75dbaec4f 100644 --- a/development/pforth/pforth.SlackBuild +++ b/development/pforth/pforth.SlackBuild @@ -59,9 +59,12 @@ sed -i "s/pforth.dic/\/usr\/share\/pforth\/${VERSION}\/pforth.dic/g" ../../csrc/ patch -p0 < $CWD/pforth-build.patch -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -make all DESTDIR=$PKG -j1 +make all \ + -j1 \ + DESTDIR=$PKG \ + CC="cc -fgnu89-inline" \ + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" find $PKG/usr/bin | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |