summaryrefslogtreecommitdiff
path: root/games/mame/mame.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-08 13:35:49 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-10 10:47:27 +0700
commit5acd1c8e3c74dcc6ed35e058c7c1a67561bb4557 (patch)
treec6bb363ef80d7d7dda983415107784761ee58252 /games/mame/mame.SlackBuild
parent808b1c5e06f86c90b131d47947c6e9434eed396c (diff)
downloadslackbuilds-5acd1c8e3c74dcc6ed35e058c7c1a67561bb4557.tar.gz
games/mame: Updated for version 0.186, speed up build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/mame/mame.SlackBuild')
-rw-r--r--games/mame/mame.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index 466111e92c..b8306d833f 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -9,6 +9,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170607 bkw:
+# - Updated for v0.186.
+# - Link with ld.gold instead of the default ld, which saves *2 hours* of
+# build time on my test box (build is 3x as fast as it was).
+
# 20170428 bkw:
# - Updated for v0.185.
@@ -74,7 +79,7 @@
# - Update .ini file slightly (sound=sdl, not sound=1)
PRGNAM=mame
-VERSION=${VERSION:-0.185}
+VERSION=${VERSION:-0.186}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -203,7 +208,8 @@ if [ -e "$GROOVYDIFF" ]; then
fi
-# Having ARCH set in the env will break the build, hence ARCH=""
+# Having ARCH set in the env will break the build, hence ARCH="".
+# Using ld.gold is *much* faster, and I see no disadvantage to it.
make USE_QTDEBUG=$QTOPT \
USE_SYSTEM_LIB_EXPAT=1 \
@@ -211,6 +217,7 @@ make USE_QTDEBUG=$QTOPT \
USE_SYSTEM_LIB_JPEG=1 \
USE_SYSTEM_LIB_FLAC=1 \
OPT_FLAGS="$SLKCFLAGS" \
+ LDOPTS="-fuse-ld=gold" \
OVERRIDE_CC="$( which gcc )" \
OVERRIDE_CXX="$( which g++ )" \
ARCH="" \