Commit 1e6f9ea2 authored by Eric Engestrom's avatar Eric Engestrom
Browse files

meson: only turn on Mesa's DEBUG for buildtype==debug

As discussed in this thread:

Cc: Dylan Baker <>
Signed-off-by: default avatarEric Engestrom <>
Acked-by: default avatarAndres Rodriguez <>
Reviewed-by: default avatarChad Versace <>
Reviewed-by: default avatarMatt Turner <>
Tested-by: default avatarChad Versace <>
parent d5597f09
......@@ -349,8 +349,8 @@ if cc.get_id() == 'gcc' and cc.version().version_compare('< 4.4.6')
error('When using GCC, version 4.4.6 or later is required.')
# Define DEBUG for debug and debugoptimized builds
if get_option('buildtype').startswith('debug')
# Define DEBUG for debug builds only (debugoptimized is not included on this one)
if get_option('buildtype') == 'debug'
pre_args += '-DDEBUG'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment