From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11034 invoked by alias); 5 May 2006 16:31:29 -0000 Received: (qmail 11025 invoked by uid 22791); 5 May 2006 16:31:28 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 05 May 2006 16:31:25 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fc3D9-0008Gx-Gr; Fri, 05 May 2006 12:31:23 -0400 Date: Fri, 05 May 2006 16:31:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Re: [sim] Use CFLAGS_FOR_BUILD Message-ID: <20060505163123.GC31029@nevyn.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sourceware.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00066.txt.bz2 On Fri, May 05, 2006 at 05:22:53PM +0200, Andreas Schwab wrote: > CC_FOR_BUILD should always be used together with CFLAGS_FOR_BUILD. > > Andreas. > > sim/: > * configure.ac (CFLAGS_FOR_BUILD): Set and substitute. > * configure: Regenerate > > * Makefile.in (CFLAGS_FOR_BUILD): Define. > (CC_FOR_BUILD): Don't override. > (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD. > > sim/ppc/: > * configure.ac (CFLAGS_FOR_BUILD): Set and substitute it. > * configure: Regenerate > > * Makefile.in (CFLAGS_FOR_BUILD): Define. > (BUILD_CFLAGS): Use it instead of hardcoding "-g -O". > (gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS. This is fine, thanks. -- Daniel Jacobowitz CodeSourcery