diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-07-09 12:18:35 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-07-09 12:18:35 -0700 |
commit | 794c5ec6e927413d4c8eb2999953d505e517e4c8 (patch) | |
tree | 6394c94bd48b96c805ef6569329ed57188b47978 | |
parent | Initial commit (diff) | |
download | naev-master.tar.xz |
-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 |