Skip to content

Commit

Permalink
Clarify use of debug option thanks to earlier report by triallax
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed Apr 26, 2024
1 parent 5526b88 commit 50f0c0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,11 @@ ladspa_symbol_args = []
lv2_symbol_args = []
vamp_symbol_args = []

if get_option('buildtype').startswith('release')
config_summary += { 'Build type': 'Release' }
feature_defines += ['-DNO_THREAD_CHECKS', '-DNO_TIMING', '-DNDEBUG']
if get_option('debug')
config_summary += { 'Debug': 'Enabled' }
else
config_summary += { 'Build type': 'Debug' }
config_summary += { 'Debug': 'Disabled' }
feature_defines += ['-DNO_THREAD_CHECKS', '-DNO_TIMING', '-DNDEBUG']
endif

if system == 'darwin'
Expand Down

0 comments on commit 50f0c0c

Please sign in to comment.