aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-pass2.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-08-26 19:22:15 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-01 14:04:34 +0800
commitbaecd49c4865de67ddddab00469a093bec18c904 (patch)
treea613dfdcb8ae9d024a8408e61e677acf07f0fad1 /chapter06/gcc-pass2.xml
parent7b3f5a4f8d5e20da0563150222052065daa838df (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
Diffstat (limited to 'chapter06/gcc-pass2.xml')
-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>