Skip to content

Commit eb6b3d8

Browse files
committed
Use user provided assert handler in examples (AM_ASSERT_FAILURE_ENABLED=0)
1 parent 249b9ae commit eb6b3d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/examples/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ libdpp = library(
5151
'dpp' / 'philo.c',
5252
'dpp' / 'table.c'
5353
],
54+
c_args : ['-DAM_ASSERT_FAILURE_ENABLED=0'],
5455
dependencies: [
5556
libhsm_dep,
5657
libstr_dep,
@@ -80,6 +81,7 @@ libringbuf_example = library(
8081
'ringbuf' / 'reader.c',
8182
'ringbuf' / 'writer.c'
8283
],
84+
c_args : ['-DAM_ASSERT_FAILURE_ENABLED=0'],
8385
dependencies: [
8486
libpal_dep,
8587
libringbuf_dep,
@@ -133,6 +135,7 @@ fork = executable(
133135
workers = executable(
134136
'workers',
135137
['workers' / 'main.c'],
138+
c_args : ['-DAM_ASSERT_FAILURE_ENABLED=0'],
136139
dependencies: [
137140
libhsm_dep,
138141
libao_preemptive_dep,

0 commit comments

Comments
 (0)