From c898d3a894d71ceca69cd1fb7a326d7dad8f3bf0 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 12 Nov 2019 21:29:52 +0000 Subject: [PATCH] Force MK_CLANG_IS_CC on in XMAKE. This ensures that a bootstrap clang compiler is always installed as cc in WORLDTMP. If it is only installed as 'clang' then /usr/bin/cc is used during the build instead of the bootstrap compiler. Reviewed by: imp MFC after: 1 month Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D22332 --- Makefile.inc1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index f35b5941da8..b870f98e24d 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -734,6 +734,7 @@ TMAKE= \ # TOOLS_PREFIX set in BMAKE XMAKE= ${BMAKE} \ TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + MK_CLANG_IS_CC=yes \ MK_GDB=no MK_TESTS=no # kernel-tools stage -- 2.45.0