[llvm] r199413 - Pass the --enable-libcpp configure option for cross builds, too.
Bob Wilson
bob.wilson at apple.com
Thu Jan 16 11:35:02 PST 2014
Author: bwilson
Date: Thu Jan 16 13:35:01 2014
New Revision: 199413
URL: http://llvm.org/viewvc/llvm-project?rev=199413&view=rev
Log:
Pass the --enable-libcpp configure option for cross builds, too.
<rdar://problem/15831288>
Modified:
llvm/trunk/Makefile
Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=199413&r1=199412&r2=199413&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Thu Jan 16 13:35:01 2014
@@ -114,9 +114,13 @@ cross-compile-build-tools:
unset CXXFLAGS ; \
unset SDKROOT ; \
unset UNIVERSAL_SDK_PATH ; \
+ configure_opts= ; \
+ if test "$ENABLE_LIBCPP" -ne 0 ; then \
+ configure_opts="$$configure_opts --enable-libcpp"; \
+ fi; \
$(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
--host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE) \
- --disable-polly ; \
+ --disable-polly $$configure_opts; \
cd .. ; \
fi; \
($(MAKE) -C BuildTools \
More information about the llvm-commits
mailing list