This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [sim] Use CFLAGS_FOR_BUILD


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]