mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00:00
15 lines
471 B
Diff
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
|
|
|