mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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',
|
'-O0',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if cfg.options.enable_math_check_indexes:
|
||||||
|
env.CXXFLAGS += ['-DMATH_CHECK_INDEXES']
|
||||||
|
|
||||||
env.CXXFLAGS += [
|
env.CXXFLAGS += [
|
||||||
'-std=gnu++11',
|
'-std=gnu++11',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user