llvm.org GIT mirror llvm / 1f22d6f
When cross-building, the CFLAGS and CXXFLAGS are for the target, and don't apply to the build tools. If we want to allow build tool flags input, we should have separate inputs (BUILD_CFLAGS and BUILD_CXXFLAGS, perhaps). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85607 91177308-0d34-0410-b5e6-96231b3b80d8 Jim Grosbach 9 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
9494 $(Verb) if [ ! -f BuildTools/Makefile ]; then \
9595 $(MKDIR) BuildTools; \
9696 cd BuildTools ; \
97 unset CFLAGS ; \
98 unset CXXFLAGS ; \
9799 $(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
98100 --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE); \
99101 cd .. ; \