Cc: Dylan Baker <dy...@pnwbakers.com>
Cc: Chad Versace <chadvers...@chromium.org>
Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com>
---
 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
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to