Changeset 2c8cb17


Ignore:
Timestamp:
11/03/2022 02:02:44 AM (18 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/update-glibc
Children:
a31b65a, f84d8a6
Parents:
6dfe1df
git-author:
Xi Ruoyao <xry111@…> (11/03/2022 02:01:18 AM)
git-committer:
Xi Ruoyao <xry111@…> (11/03/2022 02:02:44 AM)
Message:

grub: copy the "no tuning" warning from BLFS

It's reported that a GRUB build with CFLAGS=-O2 is broken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/grub.xml

    r6dfe1df r2c8cb17  
    5151    </note>
    5252
     53    <warning>
     54      <para>Unset any environment variables which may affect the build:</para>
     55
     56      <screen><userinput remap='pre'>unset {C,CPP,CXX,LD}FLAGS</userinput></screen>
     57
     58      <para>Don't try <quote>tuning</quote> this package with custom
     59      compilation flags: this package is a bootloader, with low-level
     60      operations in the source code which is likely to be broken by some
     61      aggressive optimizations.</para>
     62    </warning>
     63
    5364    <para>Prepare GRUB for compilation:</para>
    5465
Note: See TracChangeset for help on using the changeset viewer.