diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-06 00:23:15 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-06 00:23:15 -0700 |
commit | 44ef1b3da27eadc595e06d73dc7f1b1d0c20409e (patch) | |
tree | 7452bb8ab76b5882228d606ddab305663a9c6638 | |
parent | Rebuild with -flto (diff) | |
download | endless-sky-44ef1b3da27eadc595e06d73dc7f1b1d0c20409e.tar.xz |
Rebuild with -fPIE
Fix pkgrel
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -9,7 +9,7 @@ pkgname=endless-sky pkgver=0.9.9 -pkgrel=2 +pkgrel=1.3 arch=('i686' 'x86_64') url="https://endless-sky.github.io/" depends=(openal libpng glew hicolor-icon-theme libjpeg-turbo sdl2 libmad) @@ -25,8 +25,9 @@ sha512sums=('3e46ffea3f15b276a837b1e53b416a48564a578dc009055b35704060bf8e63df4ee build() { cd $pkgname-$pkgver - export CFLAGS="$CFLAGS -flto=4" - export CXXFLAGS="$CXXFLAGS -flto=4" + export CFLAGS="$CFLAGS -flto=4 -fPIE" + export CXXFLAGS="$CXXFLAGS -flto=4 -fPIE" + export LDFLAGS="$LDFLAGS,-pie" scons -j 4 } |