make: use std=c99 everywhere by default.
setting "STANDARD_FLAGS=-std=c11" or similar will let you try out alternate compilation modes. Fixes https://github.com/libopencm3/libopencm3/issues/773
This commit is contained in:
@@ -28,6 +28,7 @@ OBJS += vector.o systick.o scb.o nvic.o assert.o sync.o dwt.o
|
||||
|
||||
# Slightly bigger .elf files but gains the ability to decode macros
|
||||
DEBUG_FLAGS ?= -ggdb3
|
||||
STANDARD_FLAGS ?= -std=c99
|
||||
|
||||
all: $(SRCLIBDIR)/$(LIBNAME).a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user