aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-08-26 19:22:15 +0800
committerXi Ruoyao <xry111@xry111.site>2022-08-26 20:32:26 +0800
commit1da889e4b5b6c57baaed1c61d75448d28017f151 (patch)
tree2a2ff5e0f64ce9a591900e44f40384da0da72792
parentad88f4fd78fbdf97cfafb46bf21d4a6b1e9ddd85 (diff)
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
-rw-r--r--chapter06/gcc-pass2.xml10
1 files changed, 0 insertions, 10 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index 70295bdaa..aab95d58f 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -90,7 +90,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 \
@@ -144,15 +143,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>