Browse Source

gcc: glibc needs --enable-__cxa_atexit to compile natively

Waldemar Brodkorb 9 months ago
parent
commit
ee611b4878
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/gcc/Makefile

+ 1 - 1
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 \