Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Apparently it's important to do



details:   https://anonhg.NetBSD.org/src/rev/685090aa43e3
branches:  trunk
changeset: 812965:685090aa43e3
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jan 10 06:13:21 2016 +0000

description:
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.

diffstat:

 share/mk/bsd.sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 51da36848a0e -r 685090aa43e3 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sun Jan 10 04:09:28 2016 +0000
+++ b/share/mk/bsd.sys.mk       Sun Jan 10 06:13:21 2016 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index