HAL_ChibiOS: fixed build on older compilers

allow build with gcc 4.9.x
This commit is contained in:
Andrew Tridgell 2018-08-02 20:59:45 +10:00
parent 9727328e0c
commit 1bd0ea079b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ endif
# C++ specific options here (added to USE_OPT).
ifeq ($(USE_CPPOPT),)
USE_CPPOPT = -fno-rtti
USE_CPPOPT = -fno-rtti -std=gnu++11
endif
# Enable this if you want the linker to remove unused code and data