mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
grub: copy the "no tuning" warning from BLFS
It's reported that a GRUB build with CFLAGS=-O2 is broken.
This commit is contained in:
parent
6dfe1df593
commit
2c8cb1743e
@ -50,6 +50,17 @@
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<warning>
|
||||
<para>Unset any environment variables which may affect the build:</para>
|
||||
|
||||
<screen><userinput remap='pre'>unset {C,CPP,CXX,LD}FLAGS</userinput></screen>
|
||||
|
||||
<para>Don't try <quote>tuning</quote> this package with custom
|
||||
compilation flags: this package is a bootloader, with low-level
|
||||
operations in the source code which is likely to be broken by some
|
||||
aggressive optimizations.</para>
|
||||
</warning>
|
||||
|
||||
<para>Prepare GRUB for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
|
Loading…
Reference in New Issue
Block a user