Commit-ID: 01cc2fd113196ab86891d4d4299ab577c0a75086 Gitweb: http://git.kernel.org/tip/01cc2fd113196ab86891d4d4299ab577c0a75086 Author: Will Deacon <will.deacon@xxxxxxx> AuthorDate: Mon, 12 Nov 2012 11:57:18 +0000 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Tue, 13 Nov 2012 09:24:41 +0200 kvm tools: specify compiler by name when overriding make default 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@xxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html