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).

llvm-svn: 85607
This commit is contained in:
Jim Grosbach 2009-10-30 19:53:38 +00:00
parent b2dfe8b19a
commit 885fdd378a
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ cross-compile-build-tools:
$(Verb) if [ ! -f BuildTools/Makefile ]; then \
$(MKDIR) BuildTools; \
cd BuildTools ; \
unset CFLAGS ; \
unset CXXFLAGS ; \
$(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
--host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE); \
cd .. ; \