opensonic: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-04 00:40:25 +02:00
parent 7fa769b2e2
commit 79d7cf11c7
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'opensonic' # Template file for 'opensonic'
pkgname=opensonic pkgname=opensonic
version=0.1.4 version=0.1.4
revision=5 revision=6
wrksrc="opensnc-src-${version}" wrksrc="opensnc-src-${version}"
hostmakedepends="cmake" hostmakedepends="cmake"
makedepends="allegro4-devel libpng-devel libvorbis-devel" makedepends="allegro4-devel libpng-devel libvorbis-devel"
@ -14,8 +14,7 @@ distfiles="${SOURCEFORGE_SITE}/opensnc/opensnc-src-${version}.tar.gz"
checksum=3a4c3fa9538ee27c04b5ea848c9ad0a83f335471936d4617a18d3648c42588e9 checksum=3a4c3fa9538ee27c04b5ea848c9ad0a83f335471936d4617a18d3648c42588e9
do_configure() { do_configure() {
unset LDFLAGS LDFLAGS="$LDFLAGS -Wl,--no-as-needed" ./configure --prefix=/usr
./configure --prefix=/usr
} }
do_build() { do_build() {
make ${makejobs} make ${makejobs}