diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-04-08 19:00:06 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-04-08 19:00:06 -0700 |
commit | 8970068f045a0560536fe8492b85e39afce39f59 (patch) | |
tree | cd8b577106e78fcd57996414b71ad8c1b2504731 /PKGBUILD | |
parent | Updated to 1.7.0 (diff) | |
download | julius-game-8970068f045a0560536fe8492b85e39afce39f59.tar.xz |
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,6 +14,7 @@ url="https://github.com/bvschaik/julius" license=('AGPL') depends=('sdl2' 'sdl2_mixer') makedepends=('cmake') +options=('lto') install="$pkgname.install" source=($pkgname-$pkgver.tar.gz::https://github.com/bvschaik/julius/archive/v$pkgver.tar.gz $pkgname.desktop @@ -26,8 +27,8 @@ b2sums=('28318909fca51793585b3d1050da6b63713aacf9813153daa19b872e9760671864cd639 build() { cd "$srcdir/$_pkgname-$pkgver" - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE" export LDFLAGS="$LDFLAGS,-pie" cmake . |