summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-10-18 17:18:19 +0000
committerdim <dim@FreeBSD.org>2015-10-18 17:18:19 +0000
commit5d3b6e9a38f0df1f6cb29b74d60e7a1d4f5dcf20 (patch)
tree7a848e5e82c31d4ace2d336abf3e8e5f8d9ecc9e /lib/clang
parenteed4f299ff7571714729dd1dfd1a38a19d24ae50 (diff)
downloadFreeBSD-src-5d3b6e9a38f0df1f6cb29b74d60e7a1d4f5dcf20.zip
FreeBSD-src-5d3b6e9a38f0df1f6cb29b74d60e7a1d4f5dcf20.tar.gz
Switch the default OpenMP runtime for clang to libomp (from the LLVM
project), as libgomp is not supported anyway. You can use the devel/llvm-devel port to install a recent copy of the OpenMP runtime.
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/include/clang/Config/config.h2
-rw-r--r--lib/clang/include/llvm/Config/config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h
index 7ab95a0..fecc361 100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@ -11,7 +11,7 @@
#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
/* Default OpenMP runtime used by -fopenmp. */
-#define CLANG_DEFAULT_OPENMP_RUNTIME "libgomp"
+#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
/* Multilib suffix for libdir. */
#define CLANG_LIBDIR_SUFFIX ""
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index bae066c..ef7295c 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -15,7 +15,7 @@
#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
/* Default OpenMP runtime used by -fopenmp. */
-#define CLANG_DEFAULT_OPENMP_RUNTIME "libgomp"
+#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
/* Define if we have libxml2 */
/* #undef CLANG_HAVE_LIBXML */
OpenPOWER on IntegriCloud