Module Name:    src
Committed By:   bad
Date:           Sun Sep 15 21:17:08 UTC 2019

Modified Files:
        src/share/mk: bsd.own.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.1151 -r1.1152 src/share/mk/bsd.own.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.own.mk
diff -u src/share/mk/bsd.own.mk:1.1151 src/share/mk/bsd.own.mk:1.1152
--- src/share/mk/bsd.own.mk:1.1151	Fri Aug 23 08:17:27 2019
+++ src/share/mk/bsd.own.mk	Sun Sep 15 21:17:08 2019
@@ -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 @@ DESTDIR?=
 # 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}

Reply via email to