From f4fdbb7dd251d627c0655ae90abf157e6be940ac Mon Sep 17 00:00:00 2001 From: Hollis Blanchard Date: Tue, 15 Jan 2008 16:43:42 -0600 Subject: [PATCH] kvm: testsuite: use "$(CC)" instead of "gcc" to find libgcc This allows for cross-compiling. Signed-off-by: Hollis Blanchard Signed-off-by: Avi Kivity --- user/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/Makefile b/user/Makefile index d77eba26..225a435d 100644 --- a/user/Makefile +++ b/user/Makefile @@ -8,7 +8,7 @@ DESTDIR := #make sure env CFLAGS variable is not used CFLAGS = -libgcc := $(shell gcc --print-libgcc-file-name) +libgcc := $(shell $(CC) --print-libgcc-file-name) #include architecure specific make rules include config-$(ARCH).mak -- 2.11.4.GIT