Skip to content

Commit

Permalink
makefiles/arch/native: don't be pedantic
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
benpicco committed Sep 26, 2024
1 parent 7f959f8 commit 5c34eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/arch/native.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5c34eea

Please sign in to comment.