nestopia: fix PIE build

This commit is contained in:
Jürgen Buchmüller 2016-06-23 20:32:49 +02:00
parent e7e30f8887
commit ab5e1716f6

View file

@ -1,7 +1,7 @@
# Template file for 'nestopia'
pkgname=nestopia
version=1.47
revision=1
revision=2
wrksrc="rdanbrook-nestopia-549c072"
hostmakedepends="pkg-config"
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
@ -14,7 +14,7 @@ distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-$
checksum=d6d374430a39d00ad0075f1253c82fce577f51241560c0e06ba805a6a1cbb1e7
do_build() {
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
make CC=$CC CXX=$CXX LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs}
}
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}