summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-11-29 08:02:54 +1100
committerChris Johns <chrisj@rtems.org>2018-11-29 08:16:39 +1100
commit09f4dbea55d1685f400e1475daed411a55ab74a7 (patch)
tree10eac6ff23fd071121cf7570cb418bfeda9e2d56
parentFix warnings on Windows. (diff)
downloadrtems-tools-09f4dbea55d1685f400e1475daed411a55ab74a7.tar.bz2
rtemstoolkit:libelf: Removing warning for asprintf on Windows.
-rw-r--r--rtemstoolkit/wscript5
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',