aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-11-11 22:51:42 +0000
committerEric Christopher <echristo@apple.com>2011-11-11 22:51:42 +0000
commitbee515f66baf4f7858d30c2fe6657d35f177dfcd (patch)
tree7021bd540f4cf03404871704458e01ae7c48dc02 /Makefile.config.in
parentc3937b97c00a857dff3528895e71ecfbc7ff3a28 (diff)
Add an option '--enable-libcpp' that will have the compiler pass on
options to use libc++ as the default c++ library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 3961cc96c7..47044a3a8d 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -208,6 +208,10 @@ RDYNAMIC := @RDYNAMIC@
# These are options that can either be enabled here, or can be enabled on the
# make command line (ie, make ENABLE_PROFILING=1):
+# When ENABLE_LIBCPP is enabled, LLVM uses libc++ by default to build.
+#ENABLE_LIBCPP = 0
+ENABLE_LIBCPP = @ENABLE_LIBCPP@
+
# When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is put
# into the "Release" directories. Otherwise, LLVM code is not optimized and
# output is put in the "Debug" directories.