From 09f4dbea55d1685f400e1475daed411a55ab74a7 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 29 Nov 2018 08:02:54 +1100 Subject: rtemstoolkit:libelf: Removing warning for asprintf on Windows. --- rtemstoolkit/wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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', -- cgit v1.2.3