intel/cs: Stop setting dispatch_grf_start_reg
[mesa.git] / meson.build
index 6e9a799704ecf606b6895a53f1bbb387f414350f..44e062e01e9fd00d9a31da49b4b07bd47db9de06 100644 (file)
@@ -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.')
 endif
 
-# 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'
 endif