mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
native: use gnu99 by default
This commit is contained in:
parent
515d3a658b
commit
0cbef09575
@ -47,7 +47,11 @@ export CGANNOTATE ?= cg_annotate
|
||||
export GPROF ?= gprof
|
||||
|
||||
# basic cflags:
|
||||
export CFLAGS += -Wall -Wextra -pedantic -std=gnu99
|
||||
export CFLAGS += -Wall -Wextra -pedantic
|
||||
# default std set to gnu99 of not overwritten by user
|
||||
ifeq (,$(filter -std=%, $(CFLAGS)))
|
||||
export CFLAGS += -std=gnu99
|
||||
endif
|
||||
|
||||
ifeq ($(shell uname -m),x86_64)
|
||||
export CFLAGS += -m32
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user