mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
gcc-pass2: Disable libsanitizer
Building libsanitizer needs libcrypt. Disable it so we don't need to add libxcrypt into Chapter 6.
This commit is contained in:
parent
c727d7e7f7
commit
f652d5bb26
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user