[libcamera-devel] [PATCH 2/2] libcamera: Use compile optimisation by default

Jacopo Mondi jacopo at jmondi.org
Mon Apr 29 01:57:01 CEST 2019


Hi Laurent,

On Mon, Apr 29, 2019 at 02:12:38AM +0300, Laurent Pinchart wrote:
> Set the compiler optimisation level to 2 by default.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Thanks,
Reviewed-by: Jacopo Mondi <jacopo at jmondi.org>

> ---
>  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
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20190429/c036895f/attachment.sig>


More information about the libcamera-devel mailing list