summaryrefslogtreecommitdiff
path: root/development/pforth
diff options
context:
space:
mode:
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