Setting CFLAGS values in sysdeps makefiles
Mike Frysinger
vapier@gentoo.org
Thu Nov 29 04:09:00 GMT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121129/9aeb444c/attachment.sig>
More information about the Libc-alpha
mailing list