mirror of https://github.com/ArduPilot/ardupilot
waf: ensure we don't try to use non-implemented functions
This commit is contained in:
parent
29dca0f915
commit
bc35b3145c
|
@ -704,6 +704,7 @@ def build(bld):
|
|||
'fiprintf','printf',
|
||||
'fopen', 'fflush', 'fwrite', 'fread', 'fputs', 'fgets',
|
||||
'clearerr', 'fseek', 'ferror', 'fclose', 'tmpfile', 'getc', 'ungetc', 'feof',
|
||||
'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf' ]
|
||||
'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf',
|
||||
'_gettimeofday', '_times', '_times_r', '_gettimeofday_r', 'time', 'clock' ]
|
||||
for w in wraplist:
|
||||
bld.env.LINKFLAGS += ['-Wl,--wrap,%s' % w]
|
||||
|
|
Loading…
Reference in New Issue