From 5ec88f908e1fdfab546e15c0ff48731541909be7 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 31 Aug 2025 10:32:40 +0200 Subject: app-admin/coreboot-utils-25.06: version bump fixes for -Oz compilation Closes: https://bugs.gentoo.org/961917 Signed-off-by: Fabian Groffen --- .../files/coreboot-utils-25.06-includes.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch (limited to 'app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch') diff --git a/app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch b/app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch new file mode 100644 index 000000000000..88717659849d --- /dev/null +++ b/app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch @@ -0,0 +1,13 @@ +fix compilation when CFLAGS is set (which in Gentoo it always is) + +--- a/util/intelmetool/Makefile ++++ b/util/intelmetool/Makefile +@@ -7,6 +7,8 @@ + INSTALL ?= /usr/bin/env install + PREFIX ?= /usr/local + CFLAGS ?= -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function \ ++# \ on prev and next line for patch ++CFLAGS += \ + -I $(TOP)/src/commonlib/bsd/include + LDFLAGS += -lpci -lz + -- cgit v1.2.3