cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the build-side...
authorJim Grosbach <grosbach@apple.com>
Sat, 24 Apr 2010 00:46:14 +0000 (00:46 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 24 Apr 2010 00:46:14 +0000 (00:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102225 91177308-0d34-0410-b5e6-96231b3b80d8

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