diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-26 14:37:06 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-26 14:37:06 -0700 |
commit | d50a72501ef09bdb250587e890cf9b518b5e58f8 (patch) | |
tree | a5b58932c9e22294b6c31d0c4c99ea5235f54901 /PKGBUILD | |
parent | pie not PIE (diff) | |
download | 7kaa-d50a72501ef09bdb250587e890cf9b518b5e58f8.tar.xz |
Add -fstack-protector-all
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ pkgname=7kaa pkgver=2.15.2 -pkgrel=2.2 +pkgrel=2.3 pkgdesc='Seven Kingdoms: Ancient Adversaries is a real-time strategy (RTS) computer game developed by Trevor Chan' url='https://7kfans.com/' arch=('i686' 'x86_64') @@ -37,8 +37,8 @@ prepare() { build() { cd "${srcdir}/${pkgname}-${pkgver}" - export CFLAGS="$CFLAGS -O3 -flto=4 -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -flto=4 -fPIE" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" export LDFLAGS="$LDFLAGS,-pie" ./configure make |