[Core] Update C standard to GNU11, C++ to GNU++14 (#17114)

This commit is contained in:
Stefan Kerkmann 2022-06-06 00:47:22 +02:00 committed by GitHub
commit e89478eb0f
Failed to generate hash of commit
4 changed files with 13 additions and 110 deletions

View file

@ -30,7 +30,7 @@ COMPILEFLAGS += -mthumb
CFLAGS += $(COMPILEFLAGS)
CXXFLAGS += $(COMPILEFLAGS)
CXXFLAGS += -fno-exceptions -std=c++11
CXXFLAGS += -fno-exceptions $(CXXSTANDARD)
LDFLAGS +=-Wl,--gc-sections
LDFLAGS += -Wl,-Map="%OUT%%PROJ_NAME%.map"