From 1bd0ea079bb39f326a5fc0f5524636ca07079999 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Aug 2018 20:59:45 +1000 Subject: [PATCH] HAL_ChibiOS: fixed build on older compilers allow build with gcc 4.9.x --- libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk b/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk index df6f2e2f7b..503f3ee2bb 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk @@ -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