From 5c34eeae030b72c63e52527ba601630fbf67a49a Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 26 Sep 2024 17:09:15 +0200 Subject: [PATCH] makefiles/arch/native: don't be pedantic We don't enable this on any other architecture. -pedantic doesn't give us any more beneficial wanrings, only warns about language extensions that are implemented by both GCC and Clang anyway. Since those are the only compilers we are targeting, we can just make use of them to make our lives easier. --- makefiles/arch/native.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/arch/native.inc.mk b/makefiles/arch/native.inc.mk index 78cbdbb3f2..c15d3618bb 100644 --- a/makefiles/arch/native.inc.mk +++ b/makefiles/arch/native.inc.mk @@ -16,7 +16,7 @@ export CGANNOTATE ?= cg_annotate export GPROF ?= gprof # basic cflags: -CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG) $(CFLAGS_OPT) +CFLAGS += -Wall -Wextra $(CFLAGS_DBG) $(CFLAGS_OPT) CFLAGS += -U_FORTIFY_SOURCE CFLAGS_DBG ?= -g3