Skip to content

Commit a219a9f

Browse files
authored
Merge pull request #141 from igaw/ccan-debug-build
build: Enable ccan debug code for debug build
2 parents a4418df + 71160de commit a219a9f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ccan/meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ sources += files([
1111
'ccan/str/debug.c',
1212
'ccan/str/str.c',
1313
])
14+
15+
if get_option('buildtype') == 'debug'
16+
add_project_arguments('-DCCAN_LIST_DEBUG=1', language : ['c', 'cpp'])
17+
add_project_arguments('-DCCAN_STR_DEBUG=1', language : ['c', 'cpp'])
18+
endif

0 commit comments

Comments
 (0)