From 368726f872ab27e739bf9cfe8892c17160f3fcd4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 24 Aug 2016 10:24:20 +0200 Subject: [PATCH] mednafen: disable PIE for performance reasons. --- srcpkgs/mednafen/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mednafen/template b/srcpkgs/mednafen/template index 5cafb898d7..9ec5aa2951 100644 --- a/srcpkgs/mednafen/template +++ b/srcpkgs/mednafen/template @@ -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