diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |