cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the build-side...
[oota-llvm.git] / Makefile
index efbae8ddedaf1674d85dc73e66ef3768cc8cf42a..1421345d6e62a0b9289be98aabeb12b4aab58209 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,8 @@ cross-compile-build-tools:
          ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
          DISABLE_ASSERTIONS=$(DISABLE_ASSERTIONS) \
          ENABLE_EXPENSIVE_CHECKS=$(ENABLE_EXPENSIVE_CHECKS) \
+         CFLAGS= \
+         CXXFLAGS= \
        ) || exit 1;
 endif