projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea32ab9
)
Pass the --enable-libcpp configure option for cross builds, too.
author
Bob Wilson
<bob.wilson@apple.com>
Thu, 16 Jan 2014 19:35:01 +0000
(19:35 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Thu, 16 Jan 2014 19:35:01 +0000
(19:35 +0000)
<rdar://problem/
15831288
>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199413
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 74ce9cdeeb0e66777ac9f8e3a9c429456bc70001..5cb38d1e3070ef615da083641e895c2b922164bf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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 \