File: add-Include-path-where-it-is-optional.patch

package info (click to toggle)
coreboot 25.09%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 217,084 kB
  • sloc: ansic: 1,685,313; sh: 15,803; python: 11,200; perl: 10,186; asm: 8,519; makefile: 5,179; cpp: 4,724; pascal: 2,327; ada: 1,985; yacc: 1,264; lex: 731; sed: 75; ruby: 5; lisp: 5; awk: 4
file content (26 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Ahmad Khalifa <ahmad@khalifa.ws>
Date: Fri, 15 Nov 2024 19:40:54 +0000
Forwarded: not-needed
Subject: [PATCH] Add Include path where it is optional

---
 util/intelmetool/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile
index 375118576..b929f1b87 100644
--- a/util/intelmetool/Makefile
+++ b/util/intelmetool/Makefile
@@ -6,8 +6,7 @@ TOP     ?= $(abspath ../..)
 CC      ?= gcc
 INSTALL ?= /usr/bin/env install
 PREFIX  ?= /usr/local
-CFLAGS  ?= -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function \
-           -I $(TOP)/src/commonlib/bsd/include
+CFLAGS  += -I $(TOP)/src/commonlib/bsd/include
 LDFLAGS += -lpci -lz
 
 OBJS = intelmetool.o me.o me_status.o mmap.o rcba.o msr.o
-- 
2.39.5