Skip to content

Commit

Permalink
Add support for LDFLAGS
Browse files Browse the repository at this point in the history
This notably fixes building with RELRO enabled.
  • Loading branch information
khorben committed Oct 24, 2017
1 parent d01c240 commit 150f1a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/dnsmasq/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.35 2017/10/02 15:50:55 wiz Exp $
# $NetBSD: Makefile,v 1.36 2017/10/24 01:04:19 khorben Exp $

DISTNAME= dnsmasq-2.78
CATEGORIES= net
Expand Down Expand Up @@ -35,6 +35,7 @@ CFLAGS.SunOS+= -DNO_IPSET
AUTO_MKDIRS=yes
CFLAGS+= -DCONFFILE='"${PKG_SYSCONFDIR}/dnsmasq.conf"'
MAKE_FLAGS+= COPTS=${CFLAGS:Q}
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
INSTALL_MAKE_FLAGS+= PREFIX="${PREFIX}"
INSTALL_MAKE_FLAGS+= MANDIR="${PREFIX}/${PKGMANDIR}"
INSTALL_MAKE_FLAGS+= LOCALEDIR="${PREFIX}/${PKGLOCALEDIR}"
Expand Down

0 comments on commit 150f1a1

Please sign in to comment.