diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-09 00:26:36 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 17:01:57 +0700 |
commit | 83d6753bcb5574026c1caa0d4e9db96f24f269d3 (patch) | |
tree | a663cfd24343e7a8a0ce32bbe1b405fcd36569e3 /system/uae | |
parent | 0006c229bd3e7749675b279b8c1fc4b3819b8161 (diff) |
system/uae: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/uae')
-rw-r--r-- | system/uae/uae.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/system/uae/uae.SlackBuild b/system/uae/uae.SlackBuild index 84cfb95e399a5..6e1f9fc849719 100644 --- a/system/uae/uae.SlackBuild +++ b/system/uae/uae.SlackBuild @@ -4,6 +4,9 @@ # Written by Michalis Pappas mepapp@noc.uoa.gr +# 20220209 bkw: Modified by SlackBuilds.org: +# - fix 15.0 build. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=uae @@ -20,9 +23,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 @@ -61,8 +61,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# 20220209 bkw: this configure script ignores CFLAGS, so be sneaky. +# Also the -j1 is really needed. + +CC="gcc $SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -71,7 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make +make -j1 make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |