From: Jerone Young Subject: [PATCH] Fix kvm-userspace configure script so that cc=gcc Date: Wed, 30 Apr 2008 15:53:47 -0500 Message-ID: <8702b8443ecc27c20321.1209588827@thinkpadL> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-ppc-devel@lists.sourceforge.net To: kvm-devel@lists.sourceforge.net Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org 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 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