This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC: define _CALL_ELF if compiler does not define it
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 21 Mar 2014 13:10:50 -0700 (PDT)
- Subject: Re: [PATCH] PowerPC: define _CALL_ELF if compiler does not define it
- Authentication-results: sourceware.org; auth=none
- References: <532C87B9 dot 6020905 at linux dot vnet dot ibm dot com>
It seems questionable to modify CFLAGS for this. It probably belongs in
CPPFLAGS, to begin with. But I'm not sure I like it modifying the user's
CPPFLAGS either. It might be best to add a new config.make variable for
configure-deduced (as opposed to user-specified) CPPFLAGS and accumulate
into that. It would be an analogue to config-extra-cflags
(libc_extra_cflags in configure). While you're at it, generalize
libc_extra_cflags so it accumulates and could be used by sysdeps configure
fragments, rather than just being single-purpose as it is today.