pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: nia
Date: Sat Aug 28 08:07:39 UTC 2021
Modified Files:
pkgsrc/mk: bsd.pkg.use.mk
Log Message:
mk: When using imake, pass LDFLAGS in the environment as LOCAL_LDFLAGS.
This allows RELRO to be used when building imake packages.
XXX: I'm not certain if this is the right place, but this already seems
to be cargo-culted in individual package Makefiles...
To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/mk/bsd.pkg.use.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/bsd.pkg.use.mk
diff -u pkgsrc/mk/bsd.pkg.use.mk:1.69 pkgsrc/mk/bsd.pkg.use.mk:1.70
--- pkgsrc/mk/bsd.pkg.use.mk:1.69 Thu Mar 12 00:12:23 2020
+++ pkgsrc/mk/bsd.pkg.use.mk Sat Aug 28 08:07:39 2021
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.use.mk,v 1.69 2020/03/12 00:12:23 rillig Exp $
+# $NetBSD: bsd.pkg.use.mk,v 1.70 2021/08/28 08:07:39 nia Exp $
#
# Turn USE_* macros into proper depedency logic. Included near the top of
# bsd.pkg.mk, after bsd.prefs.mk.
@@ -52,6 +52,7 @@ PLIST_SUBST+= IMAKE_MANNEWSUFFIX=${IMAK
.if defined(USE_IMAKE)
MAKE_FLAGS+= CC=${CC:Q} CXX=${CXX:Q}
+MAKE_FLAGS+= LOCAL_LDFLAGS=${LDFLAGS:Q}
.endif
PREFIX= ${LOCALBASE}
Home |
Main Index |
Thread Index |
Old Index