summaryrefslogtreecommitdiff
path: root/development/pforth
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-11 17:24:39 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit4745c6586b4b1c73a13daf300c0b89b5767ab208 (patch)
tree9147dc51b92b9c168a21e828d6e4da20449f6002 /development/pforth
parent12de98b2e3d996e49ec2195579be08eb507107b8 (diff)
downloadslackbuilds-4745c6586b4b1c73a13daf300c0b89b5767ab208.tar.gz
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/pforth')
-rw-r--r--development/pforth/pforth.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/pforth/pforth.SlackBuild b/development/pforth/pforth.SlackBuild
index 7a0dd178e8..98f75dbaec 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