aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-07 16:47:20 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:03 +0700
commitc0ea3da0046117f9e007919c35dfba03a7eb28c7 (patch)
treec3d344f87980d32dcffdb258685a6d4093800f57 /development
parentd987bd73862a7d0f215c2062c5c07909c7128b81 (diff)
development/z88dk: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-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 b85cd91a0181b..cb30f9220ad83 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"