summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-01-27 18:34:37 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-01-27 18:34:37 -0800
commit008e132d7f06f0791fddb7ddbab07207bb0bc74e (patch)
tree9a87242853b066a4eeda03cce3d219359ad38af2
parentRebuild with PIE disabled. (diff)
downloadmupen64plus-008e132d7f06f0791fddb7ddbab07207bb0bc74e.tar.xz
Rebuild again with PIC.
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c9b5ae..cb700fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@
pkgname=mupen64plus
pkgver=2.5
-pkgrel=20.2
+pkgrel=20.3
pkgdesc='Nintendo64 Emulator'
arch=('x86_64')
url='https://github.com/mupen64plus/mupen64plus-core'
@@ -36,8 +36,8 @@ build() {
cd mupen64plus-bundle-src-${pkgver}
# -fPIE breaks libmupen64plus.so.2
- export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto"
- export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto"
+ export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIC"
+ export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIC"
if [[ $CARCH = 'i686' ]]; then
export CFLAGS="${CFLAGS/-fno-plt/}"