aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-05-06 20:31:01 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-05-06 20:31:01 +0800
commite1d233c8afe5d54998160df8d03c78f4f4179a12 (patch)
tree375f15454dbbec746e08ad58b5644af6103e22c1
parent9fec03d69f1faf9d606da1e14296c8d1b681a5ec (diff)
gcc-12: remove --enable-initfini-array in pass 1
Reference: https://gcc.gnu.org/r12-1328
-rw-r--r--chapter05/gcc-pass1.xml10
1 files changed, 0 insertions, 10 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 32ace456a..34ad1b15e 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -87,7 +87,6 @@ cd build</userinput></screen>
--with-sysroot=$LFS \
--with-newlib \
--without-headers \
- --enable-initfini-array \
--disable-nls \
--disable-shared \
--disable-multilib \
@@ -134,15 +133,6 @@ cd build</userinput></screen>
</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>
<term><parameter>--disable-shared</parameter></term>
<listitem>
<para>This switch forces GCC to link its internal libraries