build: add waf-tool to simplify building with AddressSanitizer & friends
Change-Id: If36e52f5e49d94ad5846165c50504d06d7d3c4d0
Refs: #2589
diff --git a/tools/dump/wscript b/tools/dump/wscript
index 32b3695..946b296 100644
--- a/tools/dump/wscript
+++ b/tools/dump/wscript
@@ -25,8 +25,8 @@
conf.check(header_name="sys/bitypes.h", mandatory=False)
conf.check(fragment=ATTRIBUTE_CHECK, msg="Checking for __attribute__", mandatory=False)
- conf.check(header_name=["sys/types.h", "sys/time.h", "time.h"], define="TIME_WITH_SYS_TIME",
- mandatory=False)
+ conf.check(header_name=["sys/types.h", "sys/time.h", "time.h"],
+ define="TIME_WITH_SYS_TIME", mandatory=False)
conf.check_cfg(path='pcap-config',
package="libpcap", args=['--libs', '--cflags'],
@@ -38,8 +38,7 @@
source=bld.path.ant_glob('*.cpp', excl='main.cpp'),
includes='.',
export_includes='.',
- use='core-objects BOOST PCAP',
- )
+ use='core-objects BOOST PCAP')
bld(features='cxx cxxprogram',
target='../../bin/ndndump',