From f652d5bb26aa5f8e3b6db2b74511db5702de7b4f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 30 Jun 2023 06:32:31 +0800 Subject: gcc-pass2: Disable libsanitizer Building libsanitizer needs libcrypt. Disable it so we don't need to add libxcrypt into Chapter 6. --- chapter06/gcc-pass2.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'chapter06/gcc-pass2.xml') 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 --disable-libatomic \ --disable-libgomp \ --disable-libquadmath \ + --disable-libsanitizer \ --disable-libssp \ --disable-libvtv \ --enable-languages=c,c++ @@ -143,6 +144,19 @@ cd build + + --disable-libsanitizer + + Disable GCC sanitizer runtime libraries. They are not + needed for the temporary installation. This switch is necessary + to build GCC without + libcrypt installed for + the target. In it was + implied by --disable-libstdcxx, but now we + have to explicitly pass it. + + + Compile the package: -- cgit v1.2.3-54-g00ecf