mirror of https://github.com/ArduPilot/ardupilot
waf: disable use of libc realloc for chibios
This commit is contained in:
parent
10aa97f958
commit
f163448298
|
@ -431,6 +431,7 @@ class chibios(Board):
|
|||
env.DEFINES.update(
|
||||
CONFIG_HAL_BOARD = 'HAL_BOARD_CHIBIOS',
|
||||
HAVE_STD_NULLPTR_T = 0,
|
||||
USE_LIBC_REALLOC = 0,
|
||||
)
|
||||
|
||||
env.AP_LIBRARIES += [
|
||||
|
@ -482,6 +483,7 @@ class chibios(Board):
|
|||
'--specs=nano.specs',
|
||||
'-specs=nosys.specs',
|
||||
'-DCHIBIOS_BOARD_NAME="%s"' % self.name,
|
||||
'-Werror=deprecated-declarations'
|
||||
]
|
||||
env.CXXFLAGS += env.CFLAGS + [
|
||||
'-fno-rtti',
|
||||
|
|
Loading…
Reference in New Issue