mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
6780e48aca
NEWLIB_GLOBAL_ATEXIT needs to be set to y for modern newlib versions.
Commit 227d99d7
("newlib: add 4.3.0.20230120") ensured this was done.
But xtensa-fsf-elf uses a newlib version from before this so it needs to
explicitly opt out.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
CT_CONFIG_VERSION="4"
|
|
CT_OBSOLETE=y
|
|
CT_EXPERIMENTAL=y
|
|
CT_ALLOW_BUILD_AS_ROOT=y
|
|
CT_ALLOW_BUILD_AS_ROOT_SURE=y
|
|
CT_ARCH_XTENSA=y
|
|
CT_MULTILIB=y
|
|
CT_TARGET_CFLAGS="-mlongcalls"
|
|
CT_TARGET_VENDOR="fsf"
|
|
CT_BINUTILS_SRC_DEVEL=y
|
|
CT_BINUTILS_DEVEL_URL="https://github.com/espressif/binutils-gdb.git"
|
|
CT_BINUTILS_DEVEL_REVISION="0104f7d3"
|
|
CT_BINUTILS_V_2_30=y
|
|
CT_NEWLIB_SRC_DEVEL=y
|
|
CT_NEWLIB_DEVEL_URL="https://github.com/espressif/newlib-esp32.git"
|
|
CT_NEWLIB_DEVEL_REVISION="fdbb7b81"
|
|
CT_LIBC_NEWLIB_TARGET_CFLAGS="-DSIGNAL_PROVIDED -DABORT_PROVIDED -DMALLOC_PROVIDED"
|
|
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
|
|
# CT_LIBC_NEWLIB_GLOBAL_ATEXIT is not set
|
|
CT_GCC_SRC_DEVEL=y
|
|
CT_GCC_DEVEL_VCS_git=y
|
|
CT_GCC_DEVEL_URL="https://github.com/espressif/gcc.git"
|
|
CT_GCC_DEVEL_REVISION="bae67e9e"
|
|
CT_CC_GCC_ENABLE_CXX_FLAGS="-fno-rtti -ffunction-sections"
|
|
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-threads=posix"
|
|
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio"
|
|
# CT_CC_GCC_STATIC_LIBSTDCXX is not set
|
|
# CT_CC_CXA_ATEXIT is not set
|
|
# CT_CC_GCC_LDBL_128 is not set
|
|
CT_CC_LANG_CXX=y
|
|
CT_DEBUG_GDB=y
|
|
CT_GDB_SRC_DEVEL=y
|
|
CT_GDB_DEVEL_URL="https://github.com/espressif/binutils-gdb.git"
|
|
CT_GDB_DEVEL_REVISION="a9ff2591"
|
|
CT_GDB_V_8_1=y
|
|
CT_ISL_V_0_19=y
|
|
CT_COMP_TOOLS_AUTOCONF=y
|
|
CT_COMP_TOOLS_AUTOMAKE=y
|