Module Name: src
Committed By: dholland
Date: Sun Jan 10 06:13:21 UTC 2016
Modified Files:
src/share/mk: bsd.sys.mk
Log Message:
Apparently it's important to do
-Wp,-iremap,${DESTDIR}:
and not
-Wp,-iremap,${DESTDIR}/:/
Why this should matter for strings where the trailing slash is
present, I dunno. But it does.
Fixes the MKREPRO problem where the unfixed path to lfs_accessors.h
appears ina bunch of bins.
To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/share/mk/bsd.sys.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.248 src/share/mk/bsd.sys.mk:1.249
--- src/share/mk/bsd.sys.mk:1.248 Sun Jan 10 03:59:34 2016
+++ src/share/mk/bsd.sys.mk Sun Jan 10 06:13:21 2016
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.248 2016/01/10 03:59:34 dholland Exp $
+# $NetBSD: bsd.sys.mk,v 1.249 2016/01/10 06:13:21 dholland Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -15,7 +15,7 @@ error2:
.endif
.if ${MKREPRO:Uno} == "yes"
-CPPFLAGS+= -Wp,-iremap,${DESTDIR}/:/
+CPPFLAGS+= -Wp,-iremap,${DESTDIR}:
CPPFLAGS+= -Wp,-iremap,${NETBSDSRCDIR}:/usr/src
CPPFLAGS+= -Wp,-iremap,${X11SRCDIR}:/usr/xsrc
.export NETBSDSRCDIR DESTDIR X11SRCDIR