diff mbox series

[v6,09/13,FIXUP] meson: Set the default build type to debugoptimized

Message ID 20220829013327.5791-10-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series Add support for meson building | expand

Commit Message

Laurent Pinchart Aug. 29, 2022, 1:33 a.m. UTC
v4l-utils is compiled by default with -g -O2 when using autoconf.
Replicate this with meson by setting the default build type to
debugoptimized.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index a6816e2bee16..88b0be3c0e93 100644
--- a/meson.build
+++ b/meson.build
@@ -2,6 +2,7 @@  project('v4l-utils', 'c', 'cpp',
     version: '1.21.0',
     meson_version : '>= 0.57',
     default_options : [
+        'buildtype=debugoptimized',
         'warning_level=1',
         'c_std=gnu99',
         'cpp_std=gnu++11',