diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-01-27 18:13:02 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-01-27 18:13:02 -0800 |
commit | 43921011d150eced9830ab23edea84ff3c91b020 (patch) | |
tree | 0604413b541267731c89f541a641e4d07a6db264 | |
parent | Rebuild for boost 1.78 (diff) | |
download | mupen64plus-43921011d150eced9830ab23edea84ff3c91b020.tar.xz |
Rebuild with PIE disabled.
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -11,7 +11,7 @@ pkgname=mupen64plus pkgver=2.5 -pkgrel=20 +pkgrel=20.2 pkgdesc='Nintendo64 Emulator' arch=('x86_64') url='https://github.com/mupen64plus/mupen64plus-core' @@ -36,9 +36,8 @@ build() { cd mupen64plus-bundle-src-${pkgver} # -fPIE breaks libmupen64plus.so.2 - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" - export LDFLAGS="$LDFLAGS,-pie" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto" if [[ $CARCH = 'i686' ]]; then export CFLAGS="${CFLAGS/-fno-plt/}" |