From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: [PATCH 4 of 6] Use "$(CC)" instead of "gcc" to find libgcc Date: Tue, 15 Jan 2008 16:43:42 -0600 Message-ID: <59aa1c2e71c23b6fe1fb.1200437022@basalt> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org # HG changeset patch # User Hollis Blanchard # Date 1200436754 21600 # Node ID 59aa1c2e71c23b6fe1fb072c81163807da817d5b # Parent 05365f8559d584fb1e935a9a64b5fa4f7e894d1f This allows for cross-compiling. Signed-off-by: Hollis Blanchard --- 1 file changed, 1 insertion(+), 1 deletion(-) user/Makefile | 2 +- diff --git a/user/Makefile b/user/Makefile --- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/