public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix kvm-userspace configure script so that cc=gcc
@ 2008-04-30 20:53 Jerone Young
  2008-04-30 21:14 ` [kvm-ppc-devel] " Hollis Blanchard
  0 siblings, 1 reply; 3+ messages in thread
From: Jerone Young @ 2008-04-30 20:53 UTC (permalink / raw)
  To: kvm-devel; +Cc: kvm-ppc-devel

1 file changed, 1 insertion(+), 1 deletion(-)
configure |    2 +-


This fixes compilation for cross compilers as many do not create a ${cross_prefix}cc link. But the do a ${cross_prefix}gcc. This is what the kernel does so this will work for everyone. This breaks some who do not have a cc link (cross tools does not create), when I put a patch to remove libkvm dependence on test config.mak.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
 
 prefix=/usr/local
 kerneldir=/lib/modules/$(uname -r)/build
-cc=cc
+cc=gcc
 ld=ld
 objcopy=objcopy
 want_module=1

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-30 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 20:53 [PATCH] Fix kvm-userspace configure script so that cc=gcc Jerone Young
2008-04-30 21:14 ` [kvm-ppc-devel] " Hollis Blanchard
2008-04-30 21:16   ` Jerone Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox