mirror of https://github.com/ArduPilot/ardupilot
waf: removed g++ command line differences between similar boards
don't put board name on g++ command line
This commit is contained in:
parent
bcf3f22375
commit
d07d5a7082
|
@ -827,7 +827,6 @@ class chibios(Board):
|
|||
'-mthumb',
|
||||
'--specs=nano.specs',
|
||||
'--specs=nosys.specs',
|
||||
'-DCHIBIOS_BOARD_NAME="%s"' % self.name,
|
||||
'-D__USE_CMSIS',
|
||||
'-Werror=deprecated-declarations',
|
||||
'-DNDEBUG=1'
|
||||
|
|
2
wscript
2
wscript
|
@ -502,7 +502,7 @@ def configure(cfg):
|
|||
# Always use system extensions
|
||||
cfg.define('_GNU_SOURCE', 1)
|
||||
|
||||
cfg.write_config_header(os.path.join(cfg.variant, 'ap_config.h'))
|
||||
cfg.write_config_header(os.path.join(cfg.variant, 'ap_config.h'), guard='_AP_CONFIG_H_')
|
||||
|
||||
# add in generated flags
|
||||
cfg.env.CXXFLAGS += ['-include', 'ap_config.h']
|
||||
|
|
Loading…
Reference in New Issue