diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-01-27 18:47:08 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-01-27 18:47:08 -0800 |
commit | 9fbdac26e1eeb2b7c28c049543474e2f747086ee (patch) | |
tree | 315e2cf674a0af6fe2cf5fec79ff0eef19271340 | |
parent | Updated to 2.6.1 (diff) | |
download | fceux-9fbdac26e1eeb2b7c28c049543474e2f747086ee.tar.xz |
Fix build for 2.6.1
-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 |