summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-26 14:37:06 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-26 14:37:06 -0700
commitd50a72501ef09bdb250587e890cf9b518b5e58f8 (patch)
treea5b58932c9e22294b6c31d0c4c99ea5235f54901
parentpie not PIE (diff)
download7kaa-d50a72501ef09bdb250587e890cf9b518b5e58f8.tar.xz
Add -fstack-protector-all
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c3e8e3a..b78ad5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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