nestopia: fix PIE build
This commit is contained in:
parent
ef781d72e3
commit
2f2997f316
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nestopia'
|
# Template file for 'nestopia'
|
||||||
pkgname=nestopia
|
pkgname=nestopia
|
||||||
version=1.47
|
version=1.47
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="rdanbrook-nestopia-549c072"
|
wrksrc="rdanbrook-nestopia-549c072"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
|
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
|
||||||
|
@ -14,7 +14,8 @@ distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-$
|
||||||
checksum=d6d374430a39d00ad0075f1253c82fce577f51241560c0e06ba805a6a1cbb1e7
|
checksum=d6d374430a39d00ad0075f1253c82fce577f51241560c0e06ba805a6a1cbb1e7
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC CXX=$CXX LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs}
|
sed -i Makefile -e "s;^LDFLAGS =.*;LDFLAGS = $LDFLAGS;"
|
||||||
|
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
|
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue