Source-Changes-HG archive

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

[src/trunk]: src/share/mk Don't attempt to shorten resolved path names (via r...



details:   https://anonhg.NetBSD.org/src/rev/91b672f78a9f
branches:  trunk
changeset: 819935:91b672f78a9f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 23 21:11:45 2016 +0000

description:
Don't attempt to shorten resolved path names (via realpath) because it could
lead to inconsistencies between different builds.

diffstat:

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

diffs (17 lines):

diff -r 9d0591546296 -r 91b672f78a9f share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Fri Dec 23 21:01:00 2016 +0000
+++ b/share/mk/bsd.sys.mk       Fri Dec 23 21:11:45 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.261 2016/12/21 03:13:00 christos Exp $
+#      $NetBSD: bsd.sys.mk,v 1.262 2016/12/23 21:11:45 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -23,6 +23,7 @@
 REPROFLAGS+=   -fdebug-prefix-map=\$$DESTDIR=
 .endif
 
+CPPFLAGS+=     -Wp,-fno-canonical-system-headers
 CPPFLAGS+=     -Wp,-iremap,${NETBSDSRCDIR}:/usr/src
 CPPFLAGS+=     -Wp,-iremap,${X11SRCDIR}:/usr/xsrc
 REPROFLAGS+=   -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src



Home | Main Index | Thread Index | Old Index