clang: Fix inverted condition in llvm.build.mk

Fixes:		31ba4ce8898f ("Allow bootstrapping llvm-tblgen on macOS and Linux")
MFC after:	1 week
This commit is contained in:
Jessica Clarke 2021-08-12 23:53:30 +01:00
parent 8a1895a3fa
commit 5ff5d1177b

View File

@ -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