@ -148,9 +148,15 @@ class Board:
'-O0',
]
env.LINKFLAGS += [
'-Wl,--gc-sections',
if cfg.env.DEST_OS == 'darwin':
'-Wl,-dead_strip',
else:
def build(self, bld):
bld.ap_version_append_str('GIT_VERSION', bld.git_head_hash(short=True))
@ -126,6 +126,9 @@ def ap_common_checks(cfg):
@conf
def check_librt(cfg, env):
return True
ret = cfg.check(
compiler='cxx',
fragment='''