Per-machine additions to CFLAGS-rtld.c being overridden.
Joseph S. Myers
joseph@codesourcery.com
Thu Jan 10 02:23:00 GMT 2013
On Wed, 9 Jan 2013, Roland McGrath wrote:
> sysdeps-CFLAGS += $(sysdep-CFLAGS-$(<F))
> sysdeps-CFLAGS-foo.c = -mblah
>
> But since there already numerous examples, we might as well just change
> CFLAGS in Makeconfig to use $(sysdep-CFLAGS-$(<F)) after the existing
> generic per-file variables.
Since there could be multiple sysdeps makefiles trying to add options for
the same file, I think it would *also* be appropriate with this pattern
for the sysdeps makefiles to use += rather than plain = when setting
sysdep-CFLAGS-foo.c unless deliberately overriding a setting in another
file.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list