From c0ea3da0046117f9e007919c35dfba03a7eb28c7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 7 Sep 2021 16:47:20 -0400 Subject: development/z88dk: Fix -current build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/z88dk/z88dk.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'development/z88dk') 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" -- cgit v1.2.3