mirror of https://github.com/ArduPilot/ardupilot
Tools: Pass ENABLE_SCRIPTING into the system
This commit is contained in:
parent
f2a31866aa
commit
17103623eb
|
@ -91,6 +91,11 @@ class Board:
|
|||
'-Werror=unused-result',
|
||||
]
|
||||
|
||||
if cfg.options.enable_scripting:
|
||||
env.DEFINES.update(
|
||||
ENABLE_SCRIPTING = 'TRUE',
|
||||
)
|
||||
|
||||
if 'clang' in cfg.env.COMPILER_CC:
|
||||
env.CFLAGS += [
|
||||
'-fcolor-diagnostics',
|
||||
|
|
Loading…
Reference in New Issue