summaryrefslogtreecommitdiff
path: root/config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-05-30 14:15:06 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-05-30 17:40:37 -0600
commit221206b4da6e6e8e3d2782f3903956e55299be40 (patch)
tree4e469090dcb71ac217ed673a11a7962c29fc3392 /config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch
parent7fbcb7be95eb5bed42f0656015228352aa0882af (diff)
Fix building vboot on i686
Diffstat (limited to 'config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch')
-rw-r--r--config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch b/config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch
deleted file mode 100644
index 9e14dc7d..00000000
--- a/config/submodule/coreboot/default/vboot/patches/0001-don-t-treat-warnings-as-errors.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From d94300a671688746f2fb3d77eefa631a3ed90306 Mon Sep 17 00:00:00 2001
-From: Leah Rowe <info@minifree.org>
-Date: Sun, 19 May 2024 23:35:52 +0100
-Subject: [PATCH 1/1] don't treat warnings as errors
-
-Signed-off-by: Leah Rowe <info@minifree.org>
----
- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 4cb265b2..4ba8b2da 100644
---- a/Makefile
-+++ b/Makefile
-@@ -114,7 +114,7 @@ endif
- # Provide default CC and CFLAGS for firmware builds; if you have any -D flags,
- # please add them after this point (e.g., -DVBOOT_DEBUG).
- DEBUG_FLAGS := $(if $(filter-out 0,${DEBUG}),-g -Og,-g -Os)
--WERROR := -Werror
-+WERROR := -Wno-error -w
- 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 \
-@@ -128,7 +128,7 @@ COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \
- # returns: $(1) if compiler was successful, empty string otherwise
- test_ccflag = $(shell \
- printf "$(2)\nvoid _start(void) {}\n" | \
-- $(CC) -nostdlib -Werror $(1) -xc -c - -o /dev/null \
-+ $(CC) -nostdlib -Wno-error -w $(1) -xc -c - -o /dev/null \
- >/dev/null 2>&1 && echo "$(1)")
-
- COMMON_FLAGS += $(call test_ccflag,-Wimplicit-fallthrough)
---
-2.39.2
-