aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-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>