waf: mark build as ARDUPILOT_BUILD

this helps with small build differences in px4 tree
This commit is contained in:
Andrew Tridgell 2016-04-13 08:34:27 +10:00
parent 61050e55d0
commit 5bd0adf980
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ def configure(cfg):
# PX4Firmware build systems (cmake and legacy make-based) can live # PX4Firmware build systems (cmake and legacy make-based) can live
# together # together
'-DCMAKE_BUILD', '-DCMAKE_BUILD',
'-DARDUPILOT_BUILD',
'-I%s' % bldpath('libraries/GCS_MAVLink'), '-I%s' % bldpath('libraries/GCS_MAVLink'),
'-Wl,--gc-sections', '-Wl,--gc-sections',
)), )),