summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-10-12 18:06:19 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-10-15 02:19:58 +0000
commit41663cf9cb727f6a60333fec50ef871d4ef52b83 (patch)
tree92fcd1bf89538db5be17bf9e28c3ce01c900279f /payloads/libpayload
parentcb807fd78aad3482153bda6b974a1b515130f7ea (diff)
payloads/libpayload: Remove Wno-trigraphs
Change-Id: I2a0ba493da327353c7489b471d4de91db30b8fc5 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84754 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <czapiga@google.com>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/Makefile.mk2
-rw-r--r--payloads/libpayload/tests/Makefile.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/Makefile.mk b/payloads/libpayload/Makefile.mk
index 6dd33e1197..c9cefb31ec 100644
--- a/payloads/libpayload/Makefile.mk
+++ b/payloads/libpayload/Makefile.mk
@@ -78,7 +78,7 @@ CFLAGS += $(INCLUDES) -Os -pipe -nostdinc -ggdb3
CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer
CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wvla
-CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wimplicit-fallthrough
+CFLAGS += -Wwrite-strings -Wredundant-decls -Wimplicit-fallthrough
CFLAGS += -Wstrict-aliasing -Wshadow -Werror
ifeq ($(CONFIG_LP_LTO),y)
diff --git a/payloads/libpayload/tests/Makefile.mk b/payloads/libpayload/tests/Makefile.mk
index 7118906850..01f0a9ec8d 100644
--- a/payloads/libpayload/tests/Makefile.mk
+++ b/payloads/libpayload/tests/Makefile.mk
@@ -44,7 +44,7 @@ TEST_CFLAGS += -I$(cmockasrc)/include
# Minimal subset of warnings and errors. Tests can be less strict than actual build.
TEST_CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wvla
-TEST_CFLAGS += -Wwrite-strings -Wno-trigraphs -Wimplicit-fallthrough
+TEST_CFLAGS += -Wwrite-strings -Wimplicit-fallthrough
TEST_CFLAGS += -Wstrict-aliasing -Wshadow -Werror
TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr -Wno-main-return-type