diff options
author | Bob Wilson <bob.wilson@apple.com> | 2014-01-16 19:35:01 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2014-01-16 19:35:01 +0000 |
commit | 40c7e400fe989baa004f1365ade1a875b659a659 (patch) | |
tree | c720b2e730d8991095dee638572ebe9ae9831d8c /Makefile | |
parent | ea32ab98f4eb01b0d2400673f66742344bf0a680 (diff) | |
download | llvm-40c7e400fe989baa004f1365ade1a875b659a659.tar.gz llvm-40c7e400fe989baa004f1365ade1a875b659a659.tar.bz2 llvm-40c7e400fe989baa004f1365ade1a875b659a659.tar.xz |
Pass the --enable-libcpp configure option for cross builds, too.
<rdar://problem/15831288>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 \ |