From d1a497f22383da55d21010ee9bf84fe7123ab2ac Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Fri, 2 Feb 2018 00:43:12 +0530 Subject: [PATCH] waf: add more wraps to compile uavcan --- Tools/ardupilotwaf/chibios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/chibios.py b/Tools/ardupilotwaf/chibios.py index 1b94333cb9..1c640e4fa9 100644 --- a/Tools/ardupilotwaf/chibios.py +++ b/Tools/ardupilotwaf/chibios.py @@ -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]