diff options
author | Adrian Perez de Castro | 2019-01-07 12:31:35 +0200 |
---|---|---|
committer | Adrian Perez de Castro | 2019-01-07 12:31:35 +0200 |
commit | d86475c6618f3f71960bda69dacbf8f1ae9b913d (patch) | |
tree | 944882e0a42cd7a2d26baceb526663ab56d2f23a | |
parent | a30053c5d0983b4559341005b0b2e4d6715dd9a7 (diff) | |
download | aur-d86475c6618f3f71960bda69dacbf8f1ae9b913d.tar.gz |
Use compiler/linker flags set in makepkg.conf
This ensures that the binaries are built with RELRO and optimizations
chosen by the user in their makepkg.conf configuration file.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 10 |
3 files changed, 11 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = fmsx pkgdesc = Portable MSX/MSX2/MSX2+ emulator pkgver = 5.4 - pkgrel = 1 + pkgrel = 2 url = http://fms.komkon.org/fMSX arch = i686 arch = x86_64 diff --git a/.gitignore b/.gitignore index 815aede571ea..6730ce5bd842 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -*.ROM -*.zip -*.tar* -/src/ +/*.ROM +/*.log +/*.tar* +/*.zip /pkg/ +/src/ @@ -1,8 +1,8 @@ # Maintainer: Adrián Pérez de Castro <adrian@perezdecastro.org> -pkgname='fmsx' pkgdesc='Portable MSX/MSX2/MSX2+ emulator' -pkgver='5.4' -pkgrel='1' +pkgname=fmsx +pkgver=5.4 +pkgrel=2 _dlname="fMSX${pkgver//./}" url='http://fms.komkon.org/fMSX' license=('custom') @@ -50,8 +50,8 @@ prepare () { build () { cd "${srcdir}" cat > config.mk <<-EOF - CFLAGS += $(pkg-config libpulse-simple --cflags) - LIBS += $(pkg-config libpulse-simple --libs) + CFLAGS += ${CFLAGS} $(pkg-config libpulse-simple --cflags) + LIBS += ${LDFLAGS} $(pkg-config libpulse-simple --libs) EOF make -C fMSX/Unix } |