waf: use STDC format macros

This commit is contained in:
Lucas De Marchi 2016-07-13 00:07:48 -03:00 committed by Andrew Tridgell
parent f3f34be9c4
commit ee62b61fc7
1 changed files with 3 additions and 3 deletions

View File

@ -157,6 +157,9 @@ class Board:
'-Wl,--gc-sections',
]
# We always want to use PRI format macros
cfg.define('__STDC_FORMAT_MACROS', 1)
def build(self, bld):
bld.ap_version_append_str('GIT_VERSION', bld.git_head_hash(short=True))
@ -238,9 +241,6 @@ class linux(Board):
'AP_HAL_Linux',
]
# We always want to use PRI format macros
cfg.define('__STDC_FORMAT_MACROS', 1)
class minlure(linux):
def configure_env(self, cfg, env):