The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=5ff5d1177bc66f1c2a0a6ee4d0ffa128d32e1dad
commit 5ff5d1177bc66f1c2a0a6ee4d0ffa128d32e1dad Author: Jessica Clarke <[email protected]> AuthorDate: 2021-08-12 22:53:30 +0000 Commit: Jessica Clarke <[email protected]> CommitDate: 2021-08-12 22:53:30 +0000 clang: Fix inverted condition in llvm.build.mk Fixes: 31ba4ce8898f ("Allow bootstrapping llvm-tblgen on macOS and Linux") MFC after: 1 week --- lib/clang/llvm.build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk index 3a712cde1703..5aff7081fb76 100644 --- a/lib/clang/llvm.build.mk +++ b/lib/clang/llvm.build.mk @@ -111,10 +111,10 @@ CXXSTD?= c++14 CXXFLAGS+= -fno-exceptions CXXFLAGS+= -fno-rtti .if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING) +CXXFLAGS.clang+= -stdlib=libc++ +.else # Building on macOS/Linux needs the real sysctl() not the bootstrap tools stub. CFLAGS+= -DBOOTSTRAPPING_WANT_NATIVE_SYSCTL -.else -CXXFLAGS.clang+= -stdlib=libc++ .endif .if defined(BOOTSTRAPPING) && ${.MAKE.OS} == "Linux" LIBADD+= dl _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
