summaryrefslogtreecommitdiff
path: root/app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2025-08-31 10:32:40 +0200
committerFabian Groffen <grobian@gentoo.org>2025-08-31 10:33:19 +0200
commit5ec88f908e1fdfab546e15c0ff48731541909be7 (patch)
treec7bb5e01dd11ad9a05a54227cff6ec1d2e0adf3c /app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch
parent06852382c90b99b5ae4083b544830e815ca4258b (diff)
downloadgentoo-5ec88f908e1fdfab546e15c0ff48731541909be7.tar.gz
gentoo-5ec88f908e1fdfab546e15c0ff48731541909be7.tar.bz2
gentoo-5ec88f908e1fdfab546e15c0ff48731541909be7.zip
app-admin/coreboot-utils-25.06: version bump
fixes for -Oz compilation Closes: https://bugs.gentoo.org/961917 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch')
-rw-r--r--app-admin/coreboot-utils/files/coreboot-utils-25.06-includes.patch13
1 files changed, 13 insertions, 0 deletions
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
+