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