summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-05 19:22:40 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-05 19:22:40 -0700
commit5a06bde389ad6c2144280ff5b7495d7a8b525fba (patch)
treede582271e2718f1e19c89e53802495c52d3efb9a
parentUpdated to 0.9.9 (diff)
downloadendless-sky-5a06bde389ad6c2144280ff5b7495d7a8b525fba.tar.xz
Rebuild with -flto
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2b3d3c2..437a362 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=endless-sky
pkgver=0.9.9
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="https://endless-sky.github.io/"
depends=(openal libpng glew hicolor-icon-theme libjpeg-turbo sdl2 libmad)
@@ -25,6 +25,8 @@ sha512sums=('3e46ffea3f15b276a837b1e53b416a48564a578dc009055b35704060bf8e63df4ee
build() {
cd $pkgname-$pkgver
+ export CFLAGS="$CFLAGS -flto=4"
+ export CXXFLAGS="$CXXFLAGS -flto=4"
scons -j 4
}