llvm.org GIT mirror llvm / c9d0c70
Clear UNIVERSAL_SDK_PATH setting when building host tools. <rdar://12360497> I also moved the SDKROOT setting into the make flags, since clearing it from the environment isn't good enough to override a setting on the make command line. That hasn't been a problem but it could be, and it's good to be consistent with the way UNIVERSAL_SDK_PATH is handled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164565 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 6 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
111111 unset CFLAGS ; \
112112 unset CXXFLAGS ; \
113113 unset SDKROOT ; \
114 unset UNIVERSAL_SDK_PATH ; \
114115 $(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
115116 --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE) \
116117 --disable-polly ; \
117118 cd .. ; \
118119 fi; \
119 (unset SDKROOT; \
120 $(MAKE) -C BuildTools \
120 ($(MAKE) -C BuildTools \
121121 BUILD_DIRS_ONLY=1 \
122122 UNIVERSAL= \
123 UNIVERSAL_SDK_PATH= \
124 SDKROOT= \
123125 TARGET_NATIVE_ARCH="$(TARGET_NATIVE_ARCH)" \
124126 TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
125127 ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \