diff options
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 \ |