mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
cpu/mips: use gnu99 by default
This commit is contained in:
parent
192e79b175
commit
515d3a658b
@ -32,7 +32,9 @@ endif
|
||||
# newlib commit 81c17949f0419d1c4fee421c60987ea1149522ae
|
||||
# https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=81c17949f0419d1c4fee421c60987ea1149522ae
|
||||
# Otherwise we get an error about a missing declaration of strnlen in some parts.
|
||||
export CFLAGS += -std=gnu99
|
||||
ifeq (, $(filter -std=%, $(CFLAGS)))
|
||||
export CFLAGS += -std=gnu99
|
||||
endif
|
||||
export CFLAGS_CPU = -EL -mabi=$(ABI)
|
||||
export CFLAGS_LINK = -ffunction-sections -fno-builtin -fshort-enums -fdata-sections
|
||||
export CFLAGS_DBG = -g3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user