* configure.host: Allow hosts to set the default
newlib_atexit_dynamic_alloc value. * configure.in: Likewise. * configure: Regenerated.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user