From baecd49c4865de67ddddab00469a093bec18c904 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 26 Aug 2022 19:22:15 +0800 Subject: [PATCH] gcc-pass2: remove unnecessary --enable-initfini-array option Forgot to remove this one when I removed it in pass 1... Reference: https://gcc.gnu.org/r12-1328 --- chapter06/gcc-pass2.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 70295bdaa..aab95d58f 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -90,7 +90,6 @@ cd build LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \ --prefix=/usr \ --with-build-sysroot=$LFS \ - --enable-initfini-array \ --disable-nls \ --disable-multilib \ --disable-decimal-float \ @@ -144,15 +143,6 @@ cd build - - --enable-initfini-array - - This option is automatically enabled when building a native - compiler with a native compiler on x86. But here, we build with - a cross compiler, so we need to explicitly set this option. - - - Compile the package: