From 1f7503cad9f92f2083270450a8ed7fa4db5ec1bb Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 6 May 2022 20:31:01 +0800 Subject: [PATCH] gcc-12: remove --enable-initfini-array in pass 1 Reference: https://gcc.gnu.org/r12-1328 --- chapter05/gcc-pass1.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 2aa25dbdc..774078176 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -89,7 +89,6 @@ cd build --with-sysroot=$LFS \ --with-newlib \ --without-headers \ - --enable-initfini-array \ --disable-nls \ --disable-shared \ --disable-multilib \ @@ -135,15 +134,6 @@ cd build - - --enable-initfini-array - - This switch forces the use of some internal data structures - that are needed but cannot be detected when building a cross - compiler. - - - --disable-shared