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',
|
'-Werror=unused-result',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if cfg.options.enable_scripting:
|
||||||
|
env.DEFINES.update(
|
||||||
|
ENABLE_SCRIPTING = 'TRUE',
|
||||||
|
)
|
||||||
|
|
||||||
if 'clang' in cfg.env.COMPILER_CC:
|
if 'clang' in cfg.env.COMPILER_CC:
|
||||||
env.CFLAGS += [
|
env.CFLAGS += [
|
||||||
'-fcolor-diagnostics',
|
'-fcolor-diagnostics',
|
||||||
|
|
Loading…
Reference in New Issue