diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-07-03 19:53:28 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-07-03 19:53:28 +0800 |
commit | 5f555ba63df8778748f4d632a7f79908dc5c5395 (patch) | |
tree | 7acc72d7fea89368ad8b71cf6f57e95566870916 /chapter06/gcc-pass2.xml | |
parent | 0eb03e9da7e0fd5f701e4bba72d0ed1f8302fbe1 (diff) | |
parent | f4313a75c82a222e804d3dd5284b37a510acbe6e (diff) |
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
Diffstat (limited to 'chapter06/gcc-pass2.xml')
-rw-r--r-- | chapter06/gcc-pass2.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 603e9ed83..770f6b187 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -93,6 +93,7 @@ cd build</userinput></screen> --disable-libatomic \ --disable-libgomp \ --disable-libquadmath \ + --disable-libsanitizer \ --disable-libssp \ --disable-libvtv \ --enable-languages=c,c++</userinput></screen> @@ -140,6 +141,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> |