darwin/cross-build: Unset SDKROOT when building BuildTools.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 22 Aug 2012 22:01:01 +0000 (22:01 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 22 Aug 2012 22:01:01 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162402 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 604696a1df432d313b664357294ab236c47051fb..a935df469c6582cc00d8bd312d122dcaf278afa2 100644 (file)
--- 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 ; \