diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -68,8 +68,9 @@ build() { cd t-engine4-src-${pkgver} premake4 gmake - export CFLAGS="$CFLAGS -fstack-protector-all -fPIE" - export CXXFLAGS="$CXXFLAGS -fstack-protector-all -fPIE" + # lto breaks compiling + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE" export LDFLAGS="$LDFLAGS,-pie" make config=release } |