[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
parent 6221c86186
commit e89478eb0f
4 changed files with 13 additions and 110 deletions

View File

@ -38,7 +38,7 @@ CFLAGS += -fno-inline-small-functions
CFLAGS += -fno-strict-aliasing
CXXFLAGS += $(COMPILEFLAGS)
CXXFLAGS += -fno-exceptions -std=c++11
CXXFLAGS += -fno-exceptions $(CXXSTANDARD)
LDFLAGS += -Wl,--gc-sections