mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
coreboot: never, ever use Werror
not even once Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From deefd0af4b4d5a84e048ac57be2a9a8cffe16192 Mon Sep 17 00:00:00 2001
|
||||
From: Leah Rowe <leah@libreboot.org>
|
||||
Date: Thu, 23 Apr 2026 21:30:49 +0100
|
||||
Subject: [PATCH 1/1] disable werror
|
||||
|
||||
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 0539e8d7..ea5e9c68 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -136,7 +136,7 @@ endif
|
||||
#
|
||||
# Flag ordering: arch, then -f, then -m, then -W
|
||||
DEBUG_FLAGS := $(if ${DEBUG},-g -O0,-g -Os)
|
||||
-WERROR := -Werror
|
||||
+WERROR :=
|
||||
FIRMWARE_FLAGS := -nostdinc -ffreestanding -fno-builtin -fno-stack-protector
|
||||
COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \
|
||||
-Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \
|
||||
--
|
||||
2.47.3
|
||||
|
||||
Reference in New Issue
Block a user