1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

Merge pull request #12566 from maribu/native_c11

boards/native: Default to C11 instead of C99
This commit is contained in:
Marian Buschsieweke 2019-10-24 23:06:42 +02:00 committed by GitHub
commit a4e4c43203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ export GPROF ?= gprof
CFLAGS += -Wall -Wextra -pedantic
# default std set to gnu99 of not overwritten by user
ifeq (,$(filter -std=%, $(CFLAGS)))
CFLAGS += -std=gnu99
CFLAGS += -std=gnu11
endif
ifeq ($(OS_ARCH),x86_64)