mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
xa: pass LDFLAGS to all builds.
This commit is contained in:
parent
fd8c06e611
commit
9dd572b16a
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xa'
|
# Template file for 'xa'
|
||||||
pkgname=xa
|
pkgname=xa
|
||||||
version=2.3.7
|
version=2.3.7
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="6502 cross assembler"
|
short_desc="6502 cross assembler"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -9,10 +9,12 @@ homepage="http://www.floodgap.com/retrotech/xa/"
|
||||||
distfiles="http://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
|
distfiles="http://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
|
||||||
checksum=34e792c159584153f5b5a246ae5d2142dfc92a20b673ea8c9e04584bde594442
|
checksum=34e792c159584153f5b5a246ae5d2142dfc92a20b673ea8c9e04584bde594442
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
|
||||||
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC LD=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
make CC=$CC LD=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR="$DESTDIR/usr" install
|
make DESTDIR="$DESTDIR/usr" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue