summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-07-09 12:18:35 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-07-09 12:18:35 -0700
commit794c5ec6e927413d4c8eb2999953d505e517e4c8 (patch)
tree6394c94bd48b96c805ef6569329ed57188b47978
parentInitial commit (diff)
downloadnaev-master.tar.xz
Rebuild due to reproducability and gcc10 workaroundHEADmaster
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e058be8..f13a877 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=naev
pkgver=0.7.0
-pkgrel=2.2
+pkgrel=3
pkgdesc='2D action/rpg space game'
arch=('x86_64')
url="http://sourceforge.net/projects/naev/"
@@ -24,6 +24,9 @@ build() {
export CXXFLAGS="$CXXFLAGS -O3 -flto=4 -fPIE"
export LDFLAGS="$LDFLAGS,-pie"
+ # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ CFLAGS+=' -fcommon'
+
./autogen.sh
./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata
make