aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/zsnes/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/zsnes/APKBUILD b/main/zsnes/APKBUILD
index 47c503aaf7..6240d9c4d8 100644
--- a/main/zsnes/APKBUILD
+++ b/main/zsnes/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zsnes
pkgver=1.51
-pkgrel=8
+pkgrel=9
pkgdesc="Super Nintendo emulator"
url="http://www.zsnes.com/"
arch="x86"
@@ -16,8 +16,7 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}151src.t
zsnes-libpng15.patch
zsnes_icon.png"
-build ()
-{
+build() {
cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}
for i in $source; do
case $i in
@@ -28,6 +27,7 @@ build ()
cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}/src
aclocal && autoconf || return 1
export GCC_SPECS=hardenednopie.specs
+ LDFLAGS="$LDFLAGS -fno-PIE"
./configure \
--build=$CBUILD \
--host=$CHOST \