Browse Source

HAL_ChibiOS: fixed build on older compilers

allow build with gcc 4.9.x
mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
1bd0ea079b
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk

2
libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk

@ -15,7 +15,7 @@ endif @@ -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

Loading…
Cancel
Save