aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-pass2.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-07-03 06:17:06 +0800
committerXi Ruoyao <xry111@xry111.site>2023-07-03 06:17:06 +0800
commit48834cf197e62ba7941aeefbcbf58933854e2acf (patch)
tree5698e26ceb05a062e8c9a5836c8035e96849d3d0 /chapter06/gcc-pass2.xml
parent9ceb623400b564f39947cf7ff7313afaa1fd69a5 (diff)
parentac5f78c4bf3d895c9abf475b4bb07f25f634a874 (diff)
Merge branch 'xry111/libxcrypt' into trunk
Diffstat (limited to 'chapter06/gcc-pass2.xml')
-rw-r--r--chapter06/gcc-pass2.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index ebc20a296..b342ae484 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -96,6 +96,7 @@ cd build</userinput></screen>
--disable-libatomic \
--disable-libgomp \
--disable-libquadmath \
+ --disable-libsanitizer \
--disable-libssp \
--disable-libvtv \
--enable-languages=c,c++</userinput></screen>
@@ -143,6 +144,19 @@ cd build</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--disable-libsanitizer</parameter></term>
+ <listitem>
+ <para>Disable GCC sanitizer runtime libraries. They are not
+ needed for the temporary installation. This switch is necessary
+ to build GCC without
+ <systemitem class='library'>libcrypt</systemitem> installed for
+ the target. In <xref linkend='ch-tools-gcc-pass1'/> it was
+ implied by <parameter>--disable-libstdcxx</parameter>, but now we
+ have to explicitly pass it.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>