summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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