diff options
author | Chris Johns <chrisj@rtems.org> | 2018-11-29 08:02:54 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-11-29 08:16:39 +1100 |
commit | 09f4dbea55d1685f400e1475daed411a55ab74a7 (patch) | |
tree | 10eac6ff23fd071121cf7570cb418bfeda9e2d56 /rtemstoolkit | |
parent | 3d2db56f7d013051406a81af107a61d00ac34ad1 (diff) |
rtemstoolkit:libelf: Removing warning for asprintf on Windows.
Diffstat (limited to 'rtemstoolkit')
-rw-r--r-- | rtemstoolkit/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rtemstoolkit/wscript b/rtemstoolkit/wscript index 82123e5..2c126c8 100644 --- a/rtemstoolkit/wscript +++ b/rtemstoolkit/wscript @@ -339,6 +339,9 @@ def bld_elftoolchain(bld, conf): libdwarf + 'libdwarf_sections.c', libdwarf + 'libdwarf_str.c'] + libdwarf_m4_source) + # + # The no warning on implicit function decls is for asprintf on Wing64. + # bld.stlib(target = 'elftc', features = 'c', install_path = None, @@ -346,7 +349,7 @@ def bld_elftoolchain(bld, conf): 'elftoolchain/libelf', 'elftoolchain/libelftc', 'elftoolchain/common'] + includes, - cflags = conf['cflags'], + cflags = conf['cflags'] + ['-Wno-implicit-function-declaration'], source =[libelftc + 'elftc_bfdtarget.c', libelftc + 'elftc_copyfile.c', libelftc + 'elftc_demangle.c', |