1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Benjamin Valentin 2024-09-26 17:09:15 +02:00
parent 7f959f83cc
commit 5c34eeae03

View File

@ -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