Module Name: src
Committed By: christos
Date: Fri Dec 23 21:11:45 UTC 2016
Modified Files:
src/share/mk: bsd.sys.mk
Log Message:
Don't attempt to shorten resolved path names (via realpath) because it could
lead to inconsistencies between different builds.
To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 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.261 src/share/mk/bsd.sys.mk:1.262
--- src/share/mk/bsd.sys.mk:1.261 Tue Dec 20 22:13:00 2016
+++ src/share/mk/bsd.sys.mk Fri Dec 23 16:11:45 2016
@@ -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 @@ CPPFLAGS+= -Wp,-iremap,${DESTDIR}:
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