mednafen: disable PIE for performance reasons.

This commit is contained in:
Juan RP 2016-08-24 10:24:20 +02:00
parent 3bb21215f8
commit 368726f872

View file

@ -1,7 +1,7 @@
# Template file for 'mednafen'
pkgname=mednafen
version=0.9.39.1
revision=1
revision=2
wrksrc="$pkgname"
build_style=gnu-configure
configure_args="--with-libcdio --with-libsndfile --enable-alsa"
@ -14,6 +14,8 @@ homepage="http://mednafen.sourceforge.net/"
distfiles="http://mednafen.fobby.net/releases/files/mednafen-${version}.tar.bz2"
checksum=3d97bf160fc9679b1a1c8082305d0d3906d867a6ba2be93232aa9d3024ba84a5
nopie=yes
pre_build() {
# XXX not sure what's going on with those asserts.
sed -i '/assert/d' src/hash/sha{1,256}.cpp