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>
This commit is contained in:
David Spencer 2015-12-11 17:24:39 +00:00 committed by Willy Sudiarto Raharjo
parent 12de98b2e3
commit 4745c6586b

View file

@ -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