summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2021-09-29 13:33:38 +0000
committertnn <tnn@pkgsrc.org>2021-09-29 13:33:38 +0000
commitbee8084b68b4451d356b3760e6a760372ac3929a (patch)
treec15392cee24a8768d05c96f3061c4fa29a8d0f46 /sysutils
parent77776746b653d89865033f899b54f2c86fcc2bd9 (diff)
downloadpkgsrc-bee8084b68b4451d356b3760e6a760372ac3929a.tar.gz
lsof: fix RELRO build
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 05d72b9368a..92c52725e49 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2021/05/24 19:54:12 wiz Exp $
+# $NetBSD: Makefile,v 1.139 2021/09/29 13:33:38 tnn Exp $
DISTNAME= lsof_4.91
PKGNAME= ${DISTNAME:S/_/-/}
@@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -n ${LOWER_OPSYS}
-CONFIGURE_ENV+= LSOF_CC="${CC} ${CFLAGS}"
+CONFIGURE_ENV+= LSOF_CC="${CC} ${CFLAGS} ${LDFLAGS}"
MAKE_FLAGS+= LSOF_BLDCMT="NetBSD pkgsrc rocks!"
OSVERSION_SPECIFIC= yes
EXTRACT_USING= bsdtar