From 5d2852cdd02efe452dbe0d329c2e7669d45df164 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Sat, 24 Apr 2010 00:46:14 +0000 Subject: [PATCH] cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the build-side utilities since the flags will be for the cross-compiler. llvm-svn: 102225 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index efbae8ddeda..1421345d6e6 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