mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed build on older compilers
allow build with gcc 4.9.x
This commit is contained in:
parent
9727328e0c
commit
1bd0ea079b
|
@ -15,7 +15,7 @@ endif
|
||||||
|
|
||||||
# C++ specific options here (added to USE_OPT).
|
# C++ specific options here (added to USE_OPT).
|
||||||
ifeq ($(USE_CPPOPT),)
|
ifeq ($(USE_CPPOPT),)
|
||||||
USE_CPPOPT = -fno-rtti
|
USE_CPPOPT = -fno-rtti -std=gnu++11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Enable this if you want the linker to remove unused code and data
|
# Enable this if you want the linker to remove unused code and data
|
||||||
|
|
Loading…
Reference in New Issue