This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Setting CFLAGS values in sysdeps makefiles


On Wednesday 28 November 2012 20:18:09 Joseph S. Myers wrote:
> To make this sort of thing work, should the CFLAGS-* settings in
> posix/Makefile be made to use "+=", or should they be moved higher up the
> file, or the Rules inclusion moved down, or would some other approach be
> best?  And is there any general rule for what order the contents of the
> subdirectory Makefile (including the "include ../Makeconfig" and "include
> ../Rules") should go in?

seems like relying on ordering can be fragile and we should just always use 
+=.  it isn't like we have to worry about the variable being set in the 
environment since "-" isn't a valid char in a variable name.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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