diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-03-18 14:46:06 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-03-18 14:46:06 -0700 |
commit | a790e3568287358ec9d16505bc3c0a9fb9d9f656 (patch) | |
tree | 977e6bddd1e83e70b0f27506fc73df22b9486929 /PKGBUILD | |
parent | Build against staging (diff) | |
download | q4wine-a790e3568287358ec9d16505bc3c0a9fb9d9f656.tar.xz |
Replace PIE with PIC
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,7 @@ # # I maintain this because: # AUR version lacks additional optimization and hardening flags -pkgname=q4wine-staging +pkgname=q4wine pkgver=1.3.12 pkgrel=1 pkgdesc="A Qt5 GUI for Wine" @@ -23,9 +23,9 @@ b2sums=('5ef483b68decefbd6926cd4fa11d95d4b7c7698258728ff99c2f23f4e915b5ea690f3b3 build() { cd "$srcdir"/${pkgname}-${pkgver/_/-} - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" - export LDFLAGS="$LDFLAGS,-pie" + # PIE breaks compiling + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIC" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIC" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIBS_ENTRY_PATH=/usr/lib/$pkgname \ |