meson: only turn on Mesa's DEBUG for buildtype==debug
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 6 Nov 2017 17:18:06 +0000 (17:18 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 7 Nov 2017 11:01:32 +0000 (11:01 +0000)
commit1e6f9ea21230229c0256d8189427411298132638
treeadcc8e65ecf090ddf593063f536d4e12052508c1
parentd5597f09c6a18a3ed2dd76657dd2e60806a6e4b2
meson: only turn on Mesa's DEBUG for buildtype==debug

As discussed in this thread:
https://lists.freedesktop.org/archives/mesa-dev/2017-November/175104.html

Cc: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Acked-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Chad Versace <chadversary@chromium.org>
meson.build