diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-11-28 21:36:38 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-11-28 21:36:38 -0800 |
commit | 06fa09dc9e6bf1f00fb218c7026bc1a6aa5f55f3 (patch) | |
tree | 5daa1ed558f342499d4ec47264ea6568b4d1b51f | |
parent | Rebuild for boost 1.71 (diff) | |
download | mupen64plus-06fa09dc9e6bf1f00fb218c7026bc1a6aa5f55f3.tar.xz |
PIE breaks libmupen64plus.so.2
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,7 +10,7 @@ pkgname=mupen64plus pkgver=2.5 -pkgrel=14.3 +pkgrel=14.4 pkgdesc='Nintendo64 Emulator' arch=('x86_64') url='https://github.com/mupen64plus/mupen64plus-core' @@ -30,9 +30,9 @@ prepare() { build() { cd mupen64plus-bundle-src-${pkgver} - export CFLAGS="$CFLAGS -O3 -flto=4 -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -flto=4 -fPIE" - export LDFLAGS="$LDFLAGS,-pie" +# -fPIE breaks libmupen64plus.so.2 + export CFLAGS="$CFLAGS -O3 -flto=4 -fPIC" + export CXXFLAGS="$CXXFLAGS -O3 -flto=4 -fPIC" if [[ $CARCH = 'i686' ]]; then export CFLAGS="${CFLAGS/-fno-plt/}" |