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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)

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',
-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux