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:
parent
8a1895a3fa
commit
5ff5d1177b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user