diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-04-24 00:46:14 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-04-24 00:46:14 +0000 |
commit | 37ff5c66dbc1ec0ac77d2a20ef4e248245061e3f (patch) | |
tree | 24433fc947fc660d61b99f12bafa58a986e4a6af /Makefile | |
parent | d46316e7ae9426353cbc1ab7b54fedfa563ceebd (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-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |