aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-08-22 22:01:01 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-08-22 22:01:01 +0000
commitde659470dd036182fed5d87ec7a9c8d8e2bf996e (patch)
tree7a1f5ca296745dd14477adf9adec22ddbac640ca /Makefile
parent7f07d2fbcfdbb77c013fa83f51e5ef4ee729f10b (diff)
darwin/cross-build: Unset SDKROOT when building BuildTools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 604696a1df..a935df469c 100644
--- a/Makefile
+++ b/Makefile
@@ -111,6 +111,7 @@ cross-compile-build-tools:
cd BuildTools ; \
unset CFLAGS ; \
unset CXXFLAGS ; \
+ unset SDKROOT ; \
$(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
--host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE) \
--disable-polly ; \