diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-01-01 20:00:30 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-01-01 20:00:30 -0800 |
commit | db35f4418ce88281f9124873161570f40e182c62 (patch) | |
tree | 35d8b7c6d4fe78344c2ec6dd68836b5255457479 | |
parent | Rebuild for icu 68.2 (diff) | |
download | 0ad-db35f4418ce88281f9124873161570f40e182c62.tar.xz |
Fix lto
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -50,11 +50,11 @@ build() { CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1' # 0ad is prone to OOM, use 1 thread per 8GB ram - export MAKEFLAGS="-j8" + #export MAKEFLAGS="-j32" # -fPIE and -pie break compilation - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=8 -fPIC" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=8 -fPIC" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIC" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIC" export SDL2_CONFIG="pkg-config sdl2" export WX_CONFIG="wx-config-gtk3" |