summaryrefslogtreecommitdiff
path: root/development/z88dk
diff options
context:
space:
mode:
Diffstat (limited to 'development/z88dk')
-rw-r--r--development/z88dk/z88dk.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/z88dk/z88dk.SlackBuild b/development/z88dk/z88dk.SlackBuild
index b85cd91a01..cb30f9220a 100644
--- a/development/z88dk/z88dk.SlackBuild
+++ b/development/z88dk/z88dk.SlackBuild
@@ -12,6 +12,8 @@
# of a release. I'll admit, my motivation for that will be that I want
# to have a C compiler that targets Pac-Man arcade hardware (the 1.99B
# release doesn't, current git does).
+# 20210907 bkw: the above TODO still stands, but I don't have time to do
+# it right now (gearing up for 15.0 release).
cd $(dirname $0) ; CWD=$(pwd)
@@ -29,9 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -72,6 +71,7 @@ find . -type d -print0 | xargs -0 chmod 0755
chmod +x *.sh
# Sneaky ways to inject CFLAGS.
+SLKCFLAGS+=" -fcommon"
sed -i "s/CC=gcc/CC='gcc $SLKCFLAGS'/" build.sh
export CXX="g++ $SLKCFLAGS"