From 91706bcda502dd344d2a2429c68dcdcb49373ecc Mon Sep 17 00:00:00 2001 From: xry111 Date: Mon, 14 Sep 2020 06:29:10 +0000 Subject: [PATCH] lfs-uefi: fix efivar-37 FTBFS git-svn-id: svn://svn.linuxfromscratch.org/hints/trunk@1162 103bf434-28df-0310-ab84-f3a62b6b63b3 --- lfs-uefi.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lfs-uefi.txt b/lfs-uefi.txt index 0f7578d..976a415 100644 --- a/lfs-uefi.txt +++ b/lfs-uefi.txt @@ -207,13 +207,15 @@ Apply a patch to make some fixes required by gcc-9: Compile the package: - make LIBDIR=/usr/lib BINDIR=/bin + make LIBDIR=/usr/lib BINDIR=/bin CFLAGS="-O2 -Wno-stringop-truncation" The meaning of the make parameter: * `libdir=/usr/lib`: This option overrides the default library directory of the package (`/usr/lib64`). +* `CFLAGS="..."`: Override the default compiler flags causing build failure. + Despite the Makefile having a `test` target, albeit one which isn't run by default, you SHOULD NOT run that `make test`, as it has been found to cause firmware bugs. Here are the thoughts on, and the exhortation @@ -583,6 +585,9 @@ TODO: from distro CHANGELOG: +[2020-09-14] + Fix efibootmgr-17 FTBFS + [2020-08-14] Remove the reference to pciutils Update to efibootmgr-17 -- 2.11.4.GIT