summaryrefslogtreecommitdiff
path: root/system/uae
diff options
context:
space:
mode:
Diffstat (limited to 'system/uae')
-rw-r--r--system/uae/uae.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/system/uae/uae.SlackBuild b/system/uae/uae.SlackBuild
index 84cfb95e39..6e1f9fc849 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 \