mame: disable precompiled headers (See #6613)

This commit is contained in:
Jürgen Buchmüller 2017-06-15 16:31:59 +02:00
parent fadd4d6685
commit 1265dfb85f

View file

@ -1,7 +1,7 @@
# Template file for 'mame'
pkgname=mame
version=0186
revision=1
revision=2
wrksrc="mame-mame${version}"
homepage="http://mamedev.org"
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
@ -23,7 +23,7 @@ case "$XBPS_TARGET_MACHINE" in
;;
esac
CXXFLAGS="-std=c++14 -I${XBPS_CROSS_BASE}/usr/include/lua5.3"
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3"
LDFLAGS="-Wl,-fuse-ld=gold"
build_options="qt"
@ -41,6 +41,7 @@ do_build() {
opts+=" TOOLS=1"
opts+=" VERBOSE=1"
opts+=" OPTIMIZE=3"
opts+=" PRECOMPILE=0"
opts+=" USE_SYSTEM_LIB_EXPAT=1"
opts+=" USE_SYSTEM_LIB_ZLIB=1"
opts+=" USE_SYSTEM_LIB_JPEG=1"
@ -61,12 +62,9 @@ do_build() {
case "$XBPS_TARGET_MACHINE" in
i686*) # Overcome linker memory exhaustion
opts+=" SYMBOLS=0"
make ${opts} ${makejobs}
;;
*) # Build all in one mame[64]
make ${opts} ${makejobs}
;;
esac
make ${opts} ${makejobs}
}
do_install() {
local f