mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01:00
gcc: Add --enable-targets=all for -m64 on 32-bit LFS
The support is needed for building GRUB for 64-bit UEFI on 32-bit LFS.
This commit is contained in:
parent
bfb0cbae18
commit
d0f9a5150e
@ -64,6 +64,7 @@ cd build</userinput></screen>
|
|||||||
--enable-default-pie \
|
--enable-default-pie \
|
||||||
--enable-default-ssp \
|
--enable-default-ssp \
|
||||||
--enable-host-pie \
|
--enable-host-pie \
|
||||||
|
--enable-targets=all \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
--disable-bootstrap \
|
--disable-bootstrap \
|
||||||
--disable-fixincludes \
|
--disable-fixincludes \
|
||||||
@ -104,6 +105,16 @@ cd build</userinput></screen>
|
|||||||
the Zlib library, rather than its own internal copy.</para>
|
the Zlib library, rather than its own internal copy.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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 a 64-bit LFS.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
|
Loading…
Reference in New Issue
Block a user