Source-Changes-HG archive

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

[src/trunk]: src/share/mk Also don't add a sysroot at all if a rumpkernel build.



details:   https://anonhg.NetBSD.org/src/rev/6faf525d75ef
branches:  trunk
changeset: 454403:6faf525d75ef
user:      bad <bad%NetBSD.org@localhost>
date:      Sun Sep 15 21:17:08 2019 +0000

description:
Also don't add a sysroot at all if a rumpkernel build.

diffstat:

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

diffs (19 lines):

diff -r 4b3485411ea8 -r 6faf525d75ef share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Sep 15 21:09:11 2019 +0000
+++ b/share/mk/bsd.own.mk       Sun Sep 15 21:17:08 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1151 2019/08/23 08:17:27 mrg Exp $
+#      $NetBSD: bsd.own.mk,v 1.1152 2019/09/15 21:17:08 bad Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -329,7 +329,8 @@
 # Don't append another copy of sysroot (coming from COMPATCPPFLAGS etc.)
 # because it confuses Coverity. Still we need to cov-configure specially
 # for each specific sysroot argument.
-.if !defined(HOSTPROG) && !defined(HOSTLIB)
+# Also don't add a sysroot at all if a rumpkernel build.
+.if !defined(HOSTPROG) && !defined(HOSTLIB) && !defined(RUMPRUN)
 .  if ${DESTDIR} != ""
 .      if empty(CPPFLAGS:M*--sysroot=*)
 CPPFLAGS+=     --sysroot=${DESTDIR}



Home | Main Index | Thread Index | Old Index