[lfs] 06/06: non-x86-efi: gcc: drop --enable-targets=all
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch xry111/non-x86-efi in repository lfs. commit 5f1aeae15ac35cb4df3e08cfd27acd1ffb839ad7 Author: Xi Ruoyao <[email protected]> AuthorDate: Sun Apr 5 18:03:20 2026 +0800 non-x86-efi: gcc: drop --enable-targets=all It's solely for building x86_64-efi on 32-bit LFS, thus unneeded on non-x86 systems. And IIRC for some targets GCC configure system would interpret it as some multilib configuration and break the build... --- chapter08/gcc.xml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 71520b00b..ae35f6f2b 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -68,7 +68,6 @@ cd build</userinput></screen> --enable-default-pie \ --enable-default-ssp \ --enable-host-pie \ - --enable-targets=all \ --disable-multilib \ --disable-bootstrap \ --disable-fixincludes \ @@ -135,16 +134,6 @@ cd build</userinput></screen> the Zlib library, rather than its own internal copy.</para> </listitem> </varlistentry> - - <varlistentry> - <term><parameter>--enable-targets=all</parameter></term> - <listitem> - <para>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 for 64-bit.</para> - </listitem> - </varlistentry> </variablelist> <note> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/lfs-book Unsubscribe: See the above information page