This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Per-machine additions to CFLAGS-rtld.c being overridden.
- From: Carlos O'Donell <carlos at systemhalted dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Carlos O'Donell <codonell at redhat dot com>, Siddhesh Poyarekar <siddhesh at redhat dot com>,GNU C Library <libc-alpha at sourceware dot org>, Guy Martin <gmsoft at tuxicoman dot be>,Roland McGrath <roland at hack dot frob dot com>
- Date: Tue, 08 Jan 2013 15:45:34 -0500
- Subject: Re: Per-machine additions to CFLAGS-rtld.c being overridden.
- References: <50EC4D90.1030708@redhat.com> <Pine.LNX.4.64.1301082012330.11486@digraph.polyomino.org.uk>
On 01/08/2013 03:13 PM, Joseph S. Myers wrote:
> This looks exactly like the issue I raised in
> <http://sourceware.org/ml/libc-alpha/2012-11/msg00798.html> - where I
> think no-one commented on a general rule for the ordering of contents of
> subdirectory Makefiles.
Thanks for this reminder Joseph.
My opinion is that sysdep makefile inclusion should come *after*
the setting of system-independent CFLAGS. This allows the sysdep
makefiles to override a CFLAGS value with something completely
different.
I don't know if this is possible since I haven't looked at the
code in detail.
Cheers,
Carlos.