diff options
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9,7 +9,7 @@ pkgname=fceux pkgver=2.6.1 -pkgrel=1 +pkgrel=1.2 url='https://fceux.com/' pkgdesc='Fast and ultra-compatible NES/Famicom emulator' arch=(x86_64) @@ -23,9 +23,9 @@ b2sums=('ffec010d38b188b7d7cce44ef78b7a88021d16e14373932c54a8aff9e799b5ddd4dddc5 build() { cd ${pkgname}-${pkgname}-${pkgver} - export CFLAGS="$CFLAGS -O3 -flto=auto -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -flto=auto -fPIE" - export LDFLAGS="$LDFLAGS,-pie" + # -fPIC is required to build + export CFLAGS="$CFLAGS -O3 -flto=auto -fPIC" + export CXXFLAGS="$CXXFLAGS -O3 -flto=auto -fPIC" mkdir -p build cd build |