Skip to content

Commit

Permalink
cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
Jim Grosbach committed Apr 24, 2010
1 parent d46316e commit 37ff5c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 37ff5c6

Please sign in to comment.