summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-11-13 12:23:36 +0000
committerkhorben <khorben@pkgsrc.org>2017-11-13 12:23:36 +0000
commitd3b78cff5042c30f14bf56399ce34b6f937d2e36 (patch)
tree2fe15cb7fe3b324be9ed8a43ebe9fb96b65d9164 /audio
parent421ec00fcc2cdc4ddae5309ead5a0da7e40f0d9b (diff)
downloadpkgsrc-d3b78cff5042c30f14bf56399ce34b6f937d2e36.tar.gz
Add support for LDFLAGS when building audio/nas
This helps pass the RELRO check for this package.
Diffstat (limited to 'audio')
-rw-r--r--audio/nas/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 464679f3955..9ef313ec8f6 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2015/08/06 22:23:17 khorben Exp $
+# $NetBSD: Makefile,v 1.97 2017/11/13 12:23:36 khorben Exp $
DISTNAME= nas-1.9.4.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -19,6 +19,8 @@ USE_TOOLS+= yacc lex makedepend
USE_IMAKE= yes
MAKE_FLAGS+= CDEBUGFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= EXTRA_LDOPTIONS=${LDFLAGS:Q}
+MAKE_FLAGS+= SHLIBGLOBALSFLAGS=${LDFLAGS:Q}
PKG_SYSCONFSUBDIR= nas