Pass the --enable-libcpp configure option for cross builds, too.

<rdar://problem/15831288>

llvm-svn: 199413
This commit is contained in:
Bob Wilson 2014-01-16 19:35:01 +00:00
parent a225bcedb4
commit 95a8bcd9f6
1 changed files with 5 additions and 1 deletions

View File

@ -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 \