Skip to content

Commit c409aab

Browse files
committed
Assert, Debug output in normal default build
1 parent 75a0cf9 commit c409aab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wscript

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ def configure(conf):
521521

522522
# Configure default variant
523523
conf.setenv('default')
524-
conf.env.append_value('CPPFLAGS', '-DNDEBUG')
525524
default_compile_flags = ['-g', '-O3']
526525
conf.env.append_value('CCFLAGS', default_compile_flags)
527526
conf.env.append_value('CXXFLAGS', default_compile_flags)
@@ -716,8 +715,8 @@ def build(bld):
716715
native_cc_debug = native_cc.clone("debug")
717716
native_cc_debug.rule = javascript_in_c_debug
718717

719-
native_cc.rule = javascript_in_c
720-
718+
native_cc.rule = javascript_in_c_debug
719+
721720
if bld.env["USE_DTRACE"]:
722721
dtrace = bld.new_task_gen(
723722
name = "dtrace",

0 commit comments

Comments
 (0)