gcc-12: remove --enable-initfini-array in pass 1

Reference: https://gcc.gnu.org/r12-1328
This commit is contained in:
Xi Ruoyao 2022-05-06 20:31:01 +08:00
parent 9fec03d69f
commit e1d233c8af
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -87,7 +87,6 @@ cd build</userinput></screen>
--with-sysroot=$LFS \ --with-sysroot=$LFS \
--with-newlib \ --with-newlib \
--without-headers \ --without-headers \
--enable-initfini-array \
--disable-nls \ --disable-nls \
--disable-shared \ --disable-shared \
--disable-multilib \ --disable-multilib \
@ -133,15 +132,6 @@ cd build</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><parameter>--enable-initfini-array</parameter></term>
<listitem>
<para>This switch forces the use of some internal data structures
that are needed but cannot be detected when building a cross
compiler.</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><parameter>--disable-shared</parameter></term> <term><parameter>--disable-shared</parameter></term>
<listitem> <listitem>