From 8e7fe4acd44ae02c0117f21646dd25402813f620 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 26 Aug 2022 19:22:15 +0800 Subject: [PATCH] arm64: 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 (cherry picked from commit 7500d50282b8f0eb1f69e1007362451122cbc557) Pick it up early in ARM64 branch to remove one reference to x86. --- chapter06/gcc-pass2.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 169fc4595..8d3a9449c 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -87,7 +87,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 \ @@ -141,15 +140,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: