This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [sim] Use CFLAGS_FOR_BUILD
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 5 May 2006 12:31:23 -0400
- Subject: Re: [sim] Use CFLAGS_FOR_BUILD
- References: <jezmhw7aya.fsf@sykes.suse.de>
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