From 9781ec5baeb533384f8f64063d6d386cfc199dec Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 2 May 2023 22:49:48 +0800 Subject: gcc: Document the meaning of --disable-fixincludes --- chapter08/gcc.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index e89f7e468..bbef8643c 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -98,6 +98,17 @@ cd build + + --disable-fixincludes + + By default, during the installation of GCC some system + headers would be fixed to be used with GCC. This + is not necessary for a modern Linux system, and potentionally + harmful if a package is reinstalled after installing GCC. This + switch prevents GCC from fixing the headers. + + + --with-system-zlib -- cgit v1.2.3-54-g00ecf