Cc: Dylan Baker <[email protected]>
Cc: Chad Versace <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 6e9a799704ecf606b689..78d51b9b9b580fdc4058 100644
--- a/meson.build
+++ b/meson.build
@@ -350,7 +350,7 @@ if cc.get_id() == 'gcc' and cc.version().version_compare('<
4.4.6')
endif
# Define DEBUG for debug and debugoptimized builds
-if get_option('buildtype').startswith('debug')
+if get_option('buildtype') == 'debug'
pre_args += '-DDEBUG'
endif
--
Cheers,
Eric
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev