aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-04-24 00:46:14 +0000
committerJim Grosbach <grosbach@apple.com>2010-04-24 00:46:14 +0000
commit37ff5c66dbc1ec0ac77d2a20ef4e248245061e3f (patch)
tree24433fc947fc660d61b99f12bafa58a986e4a6af /Makefile
parentd46316e7ae9426353cbc1ab7b54fedfa563ceebd (diff)
cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the build-side utilities since the flags will be for the cross-compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index efbae8dded..1421345d6e 100644
--- 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