diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-17 22:20:20 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-19 19:59:16 -0500 |
commit | 437c5c5085ff30b4a4960b2b53d06728c788361d (patch) | |
tree | e3ed5ad7825b649ce74c03622b6b832c484b908d /newlib/configure | |
parent | 6783cceb0acdf163f8f8843f63c17e08c07b88e9 (diff) | |
download | newlib-437c5c5085ff30b4a4960b2b53d06728c788361d.zip newlib-437c5c5085ff30b4a4960b2b53d06728c788361d.tar.gz newlib-437c5c5085ff30b4a4960b2b53d06728c788361d.tar.bz2 |
newlib: internalize HAVE_INITFINI_ARRAY
This define is only used by newlib internally, so stop exporting it
as HAVE_INITFINI_ARRAY since this can conflict with defines packages
use themselves.
We don't really need to add _ to HAVE_INIT_FINI too since it isn't
exported in newlib.h, but might as well be consistent here.
We can't (easily) add this to newlib_cflags like HAVE_INIT_FINI is
because this is based on a compile-time test in the top configure,
not on plain shell code in configure.host. We'd have to replicate
the test in every subdir in order to have it passed down.
Diffstat (limited to 'newlib/configure')
-rwxr-xr-x | newlib/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure b/newlib/configure index e303a27..8190f9f 100755 --- a/newlib/configure +++ b/newlib/configure @@ -12817,7 +12817,7 @@ $as_echo "$libc_cv_initfinit_array" >&6; } if test $libc_cv_initfinit_array = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_INITFINI_ARRAY 1 +#define _HAVE_INITFINI_ARRAY 1 _ACEOF fi |