diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index b3397d8be..e0b0f08f5 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -64,6 +64,7 @@ cd build --enable-default-pie \ --enable-default-ssp \ --enable-host-pie \ + --enable-targets=all \ --disable-multilib \ --disable-bootstrap \ --disable-fixincludes \ @@ -104,6 +105,16 @@ cd build the Zlib library, rather than its own internal copy. + + + --enable-targets=all/ + + This switch tells GCC to enable 64-bit code generation + support even if we are building it for a 32-bit system. + It's needed to build GRUB for 64-bit UEFI. This switch has no + effect if building a 64-bit LFS. + +