diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-01-11 22:14:28 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-01-11 22:14:28 -0800 |
commit | 5fa0777ae11e4297e79b66406907a653249a0b8f (patch) | |
tree | 87671e65b7def915e06a5667ac7b338d02d1c58f /PKGBUILD | |
parent | Initial commit (diff) | |
download | openrct2-5fa0777ae11e4297e79b66406907a653249a0b8f.tar.xz |
Added hardening
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -50,6 +50,11 @@ prepare() { build() { cd "$srcdir/OpenRCT2-$pkgver" + # lto breaks compiling + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE" + export LDFLAGS="$LDFLAGS,-pie" + mkdir -p build cd build cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |