diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-03-21 23:02:13 +0300 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2006-03-21 23:02:13 +0300 |
commit | ce93dfe4150ab537bfc55b834f933145e18098c0 (patch) | |
tree | 1cf211f389665778a7201b23149312db1442b2f5 /newlib/configure.host | |
parent | d4d63ebf22e0738e4a88f0ad53cb4e0e87ef92e3 (diff) |
* configure.host: Allow hosts to set the default
newlib_atexit_dynamic_alloc value.
* configure.in: Likewise.
* configure: Regenerated.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index d85e8ad2c..759c38adb 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -63,6 +63,7 @@ have_sys_mach_dir=no default_newlib_io_long_long=no default_newlib_io_long_double=no default_newlib_io_pos_args=no +default_newlib_atexit_dynamic_alloc=yes aext=a oext=o @@ -738,6 +739,13 @@ if [ "x${newlib_io_pos_args}" = "x" ]; then fi fi +# Disable atexit dynamic allocation if requested. +if [ "x${newlib_atexit_dynamic_alloc}" = "x" ]; then + if [ ${default_newlib_atexit_dynamic_alloc} = "yes" ]; then + newlib_atexit_dynamic_alloc="yes"; + fi +fi + if test -z "${have_crt0}" && test -n "${sys_dir}"; then have_crt0="yes" fi |