[libcamera-devel] [PATCH 2/2] libcamera: Use compile optimisation by default
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Apr 29 01:12:38 CEST 2019
Set the compiler optimisation level to 2 by default.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index d272ff33b100..a11a1e4c238e 100644
--- a/meson.build
+++ b/meson.build
@@ -5,6 +5,7 @@ project('libcamera', 'c', 'cpp',
'werror=true',
'warning_level=2',
'cpp_std=c++11',
+ 'optimization=2',
],
license : 'LGPL 2.1+')
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list