summaryrefslogtreecommitdiffstats
path: root/games/mame/mame.SlackBuild
diff options
context:
space:
mode:
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="" \