aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-09-06 17:12:42 +1200
committerChris Packham <judge.packham@gmail.com>2023-09-07 12:24:32 +1200
commit6780e48aca3313c2973e8a138072cc07774a442b (patch)
tree5d161a9a04753a834ec26a076d9ed5665c1d0274 /samples
parentcf25b4edb096c9b815daa202968c15906b8047e5 (diff)
downloadcrosstool-ng-6780e48aca3313c2973e8a138072cc07774a442b.tar.gz
crosstool-ng-6780e48aca3313c2973e8a138072cc07774a442b.tar.bz2
crosstool-ng-6780e48aca3313c2973e8a138072cc07774a442b.zip
xtensa-fsf-elf: Unset NEWLIB_GLOBAL_ATEXIT
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>
Diffstat (limited to 'samples')
-rw-r--r--samples/xtensa-fsf-elf/crosstool.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/xtensa-fsf-elf/crosstool.config b/samples/xtensa-fsf-elf/crosstool.config
index a13c4779..b88c039f 100644
--- a/samples/xtensa-fsf-elf/crosstool.config
+++ b/samples/xtensa-fsf-elf/crosstool.config
@@ -16,6 +16,7 @@ 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"