Message ID | 1352721450-11340-5-git-send-email-will.deacon@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index 44a55c2..bb22587 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -19,8 +19,8 @@ export E Q KINCL_PATH include config/utilities.mak include config/feature-tests.mak -CC := $(CROSS_COMPILE)$(CC) -LD := $(CROSS_COMPILE)$(LD) +CC := $(CROSS_COMPILE)gcc +LD := $(CROSS_COMPILE)ld FIND := find CSCOPE := cscope
GNU make defaults "$(CC)" to "cc", which breaks compilation when we try to execute $(CROSS_COMPILE)-cc. This patch copies what the top-level kernel Makefile does, by specifying "gcc" directly when overriding the $CC environment variable. Signed-off-by: Will Deacon <will.deacon@arm.com> --- tools/kvm/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)