gentoo-ebuilds/app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch
Fabian Groffen 9c8bbe1f20
app-admin/coreboot-utils: add refs to upstream submissions in patches
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-08-31 10:52:12 +02:00

15 lines
471 B
Diff

https://review.coreboot.org/c/coreboot/+/89004
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