summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-02-27 00:02:48 +0000
committerdim <dim@FreeBSD.org>2011-02-27 00:02:48 +0000
commit4004d6a3076e94bd23e681411c43682267a202fe (patch)
tree2c28e989c6afea68ef1f4e6f1377c3948375dd9e /lib/clang
parent76f2936a08a44a2ac6766e368313d64d39813da7 (diff)
downloadFreeBSD-src-4004d6a3076e94bd23e681411c43682267a202fe.zip
FreeBSD-src-4004d6a3076e94bd23e681411c43682267a202fe.tar.gz
Instead of defining LLVM_MULTITHREADED as 0 or 1, define or undefine it,
and test appropriately. Otherwise it might erroneously pick up some pthread primitives, and fail to link.
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/include/llvm/Config/config.h2
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 7650f51..6b0629c 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -564,7 +564,7 @@
/* #undef LLVM_MANDIR */
/* Build multithreading support into LLVM */
-#define LLVM_MULTITHREADED 0
+/* #undef LLVM_MULTITHREADED */
/* LLVM architecture name for the native architecture, if available */
#define LLVM_NATIVE_ARCH X86
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index e6912ba..fc3ec97 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -49,7 +49,7 @@
/* #undef LLVM_MANDIR */
/* Build multithreading support into LLVM */
-#define LLVM_MULTITHREADED 0
+/* #undef LLVM_MULTITHREADED */
/* LLVM architecture name for the native architecture, if available */
#define LLVM_NATIVE_ARCH X86
OpenPOWER on IntegriCloud