mirror of https://github.com/ArduPilot/ardupilot
waf: set CYGWIN_BUILD on cygwin for px4
helps with missing/cmath
This commit is contained in:
parent
27e4953ad8
commit
b6c0e65dee
|
@ -698,6 +698,9 @@ class px4(Board):
|
|||
'uavcan',
|
||||
]
|
||||
|
||||
if sys.platform == 'cygwin':
|
||||
env.CXXFLAGS += ['-DCYGWIN_BUILD']
|
||||
|
||||
env.ROMFS_EXCLUDE = self.ROMFS_EXCLUDE
|
||||
|
||||
env.PX4_BOOTLOADER_NAME = self.bootloader_name
|
||||
|
|
Loading…
Reference in New Issue