Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262529AbVAPQJr (ORCPT ); Sun, 16 Jan 2005 11:09:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262123AbVAPQJr (ORCPT ); Sun, 16 Jan 2005 11:09:47 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:33347 "EHLO pfepa.post.tele.dk") by vger.kernel.org with ESMTP id S262529AbVAPQJe (ORCPT ); Sun, 16 Jan 2005 11:09:34 -0500 Date: Sun, 16 Jan 2005 17:09:48 +0100 From: Sam Ravnborg To: Geert Uytterhoeven Cc: Linus Torvalds , Sam Ravnborg , Andrew Morton , Kernel Mailing List Subject: Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1) Message-ID: <20050116160948.GA3090@mars.ravnborg.org> Mail-Followup-To: Geert Uytterhoeven , Linus Torvalds , Sam Ravnborg , Andrew Morton , Kernel Mailing List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 749 Lines: 22 On Sun, Jan 16, 2005 at 10:22:43AM +0100, Geert Uytterhoeven wrote: > Changing > > | NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include) > > to > > | NOSTDINC_FLAGS = -nostdinc -isystem $(shell $(CC) -print-file-name=include) > > fixed it. I guess it picked up the definition for $(CC) before it became > $(CROSS_COMPILE)gcc. Main culprint here is m68k fiddelign with definition of CROSS_COMPILE in arch/m68k/Makefile. If I find no better fix I will take your version. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/