commit | 759f7060e375731160d82db960ac00b1b91aac53 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sat Nov 29 10:19:22 2014 -0700 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Sat Nov 29 10:19:22 2014 -0700 |
tree | 7d8cc486133a2ae0c22514fc916e003ec4fb8149 | |
parent | 2e0db686bd26b3c858aaa99f481b660d1d97b490 [diff] [blame] |
build: disable assertions in release builds refs #2139 Change-Id: Id4cc0b360848d06a0d1e5759cf2017cd1b4227ec
diff --git a/wscript b/wscript index 8baa805..d2aff10 100644 --- a/wscript +++ b/wscript
@@ -105,6 +105,10 @@ conf.define('DEFAULT_CONFIG_FILE', '%s/ndn/nfd.conf' % conf.env['SYSCONFDIR']) + # disable assertions in release builds + if not conf.options.debug: + conf.define('NDEBUG', 1) + conf.write_config_header('config.hpp') def build(bld):