Merge branch 'foss-for-synopsys-dwc-arc-processors-abrodkin-newlib-nano-io'

This commit is contained in:
Chris Packham 2021-01-12 21:51:41 +13:00
commit 97803058cf

View File

@ -361,6 +361,11 @@ do_gcc_core_backend() {
[ -n "${CT_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_PKGVERSION}")
[ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}")
# Hint GCC we'll use a bit special version of Newlib
if [ "${CT_LIBC_NEWLIB_NANO_FORMATTED_IO}" = "y" ]; then
extra_config+=("--enable-newlib-nano-formatted-io")
fi
if [ "${CT_CC_CXA_ATEXIT}" = "y" ]; then
extra_config+=("--enable-__cxa_atexit")
else