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.
This commit is contained in:
Xi Ruoyao 2022-08-26 19:22:15 +08:00
parent c84ec3875a
commit 8e7fe4acd4
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -87,7 +87,6 @@ cd build</userinput></screen>
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</userinput></screen>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--enable-initfini-array</parameter></term>
<listitem>
<para>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.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>