summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-03-18 14:46:06 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-03-18 14:46:06 -0700
commita790e3568287358ec9d16505bc3c0a9fb9d9f656 (patch)
tree977e6bddd1e83e70b0f27506fc73df22b9486929
parentBuild against staging (diff)
downloadq4wine-a790e3568287358ec9d16505bc3c0a9fb9d9f656.tar.xz
Replace PIE with PIC
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8c08852..ef6575d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \