mirror of https://github.com/ArduPilot/ardupilot
Tools: ardupilotwaf: add enable-math-check-indexes configure option
This commit is contained in:
parent
154d771e6c
commit
d4c3caf592
|
@ -119,6 +119,9 @@ class Board:
|
|||
'-O0',
|
||||
]
|
||||
|
||||
if cfg.options.enable_math_check_indexes:
|
||||
env.CXXFLAGS += ['-DMATH_CHECK_INDEXES']
|
||||
|
||||
env.CXXFLAGS += [
|
||||
'-std=gnu++11',
|
||||
|
||||
|
|
Loading…
Reference in New Issue