mame: use ld.gold for linking for a try

This commit is contained in:
Jürgen Buchmüller 2016-04-02 10:54:11 +02:00
parent 19b5f44d1a
commit 85132987af
1 changed files with 2 additions and 5 deletions

View File

@ -17,12 +17,8 @@ depends="liberation-fonts-ttf"
nocross=yes
replaces="sdlmame>=0 sdlmess>=0"
# ETOOBIG for i686
case "$XBPS_TARGET_MACHINE" in
i686*) broken="http://build.voidlinux.eu/builders/i686_builder/builds/21957/steps/shell_3/logs/stdio"
esac
CXXFLAGS="-DUSE_INTERNAL_CBEGIN_CEND=1 -I${XBPS_CROSS_BASE}/usr/include/lua5.3"
LDFLAGS="-Wl,-fuse-ld=gold"
build_options="qt"
if [ -z "$CROSS_BUILD" ]; then
@ -34,6 +30,7 @@ do_build() {
opts+=" NOWERROR=1"
opts+=" TOOLS=1"
opts+=" OPTIMIZE=3"
opts+=" VERBOSE=1"
opts+=" USE_SYSTEM_LIB_EXPAT=1"
opts+=" USE_SYSTEM_LIB_ZLIB=1"
opts+=" USE_SYSTEM_LIB_JPEG=1"