mirror of https://github.com/ArduPilot/ardupilot
waf: add more wraps to compile uavcan
This commit is contained in:
parent
b1499ee8f2
commit
d1a497f223
|
@ -178,6 +178,6 @@ def build(bld):
|
||||||
|
|
||||||
bld.env.LIB += ['ch']
|
bld.env.LIB += ['ch']
|
||||||
bld.env.LIBPATH += ['modules/ChibiOS/']
|
bld.env.LIBPATH += ['modules/ChibiOS/']
|
||||||
wraplist = ['strerror_r']
|
wraplist = ['strerror_r', 'fclose', 'freopen', 'fread']
|
||||||
for w in wraplist:
|
for w in wraplist:
|
||||||
bld.env.LINKFLAGS += ['-Wl,--wrap,%s' % w]
|
bld.env.LINKFLAGS += ['-Wl,--wrap,%s' % w]
|
||||||
|
|
Loading…
Reference in New Issue