git: 56e4bee1daeb - main - UPDATING: Add warning about NO_CLEAN build after turning off llvm mips target

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 15 Dec 2021 03:26:08 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=56e4bee1daebecd5bc58524658a78a7e27f51bc1

commit 56e4bee1daebecd5bc58524658a78a7e27f51bc1
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-12-15 02:32:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-15 03:25:36 +0000

    UPDATING: Add warning about NO_CLEAN build after turning off llvm mips target
    
    Due to the way that we configure llvm, there's a problem with NO_CLEAN
    builds. The *.def files listed in the commit change their behavior based
    on command line arguments. Since my flipping the default of the mips
    target, this meant there were .o files that were now inconsistent with
    how we'll now compile things, leading to errors. By touching the *.def
    files list, one can workaround this problem.
    
    Noticed by:             jhb
    Sponsored by:           Netflix
---
 UPDATING | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/UPDATING b/UPDATING
index 0580b7e1f3d1..df3e35056ff3 100644
--- a/UPDATING
+++ b/UPDATING
@@ -32,6 +32,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 14.x IS SLOW:
 	mips support in FreeBSD. mips related items will be removed wholesale in
 	the coming days and weeks.
 
+	This broke the NO_CLEAN build for some people. Either do a clean build
+	or touch
+		lib/clang/include/llvm/Config/Targets.def
+		lib/clang/include/llvm/Config/AsmParsers.def
+		lib/clang/include/llvm/Config/Disassemblers.def
+		lib/clang/include/llvm/Config/AsmPrinters.def
+	before the build to force everything to rebuild that needs to.
+
 20211110:
 	Commit b8d60729deef changed the TCP congestion control framework so
 	that any of the included congestion control modules could be