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: Per-machine additions to CFLAGS-rtld.c being overridden.


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


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