waf: add more wraps to compile uavcan

This commit is contained in:
Siddharth Purohit 2018-02-02 00:43:12 +05:30 committed by Andrew Tridgell
parent b1499ee8f2
commit d1a497f223
1 changed files with 1 additions and 1 deletions

View File

@ -178,6 +178,6 @@ def build(bld):
bld.env.LIB += ['ch']
bld.env.LIBPATH += ['modules/ChibiOS/']
wraplist = ['strerror_r']
wraplist = ['strerror_r', 'fclose', 'freopen', 'fread']
for w in wraplist:
bld.env.LINKFLAGS += ['-Wl,--wrap,%s' % w]