summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-20 09:23:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-20 09:23:41 +0200
commitee611b487848bdb0dec18c83a0d788c6b6966c2a (patch)
tree97405bc9d374d237514e3781b6a41681a88be598 /package/gcc
parent98678ec9216402cf03ae59538e3b611dc5aa77a8 (diff)
gcc: glibc needs --enable-__cxa_atexit to compile natively
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index d7b2d072a..d08f01926 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -60,7 +60,7 @@ CONFIGURE_ENV+= have_sys_sdt_h=no
CONFIGURE_ARGS+= --host=$(GNU_TARGET_NAME) \
--target=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
- --disable-__cxa_atexit \
+ --enable-__cxa_atexit \
--without-headers \
--libexecdir=/usr/lib \
--disable-libssp \