From: Roland Hieber <rhi@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: oss-tools@pengutronix.de
Subject: Re: [OSS-Tools] [PATCH 3/3] meson: set optimization level to -O2 by default
Date: Thu, 27 Jul 2023 10:23:45 +0200 [thread overview]
Message-ID: <20230727082345.rzbo3c3ds6krj32k@pengutronix.de> (raw)
In-Reply-To: <20230612120754.896995-3-a.fatoum@pengutronix.de>
On Mon, Jun 12, 2023 at 02:07:54PM +0200, Ahmad Fatoum wrote:
> From: Ahmad Fatoum <ahmad@a3f.at>
>
> We shouldn't expect users to override optimization levels, so let's have
> a sensible default.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Roland Hieber <rhi@pengutronix.de>
> ---
> meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meson.build b/meson.build
> index be92446f137a..e03e1dbf6e85 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -9,6 +9,7 @@ project(
> default_options: [
> 'c_std=gnu11',
> 'warning_level=2',
> + 'optimization=2',
> ],
> license : 'GPL-2.0-only',
> )
> --
> 2.39.2
>
>
>
--
Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2023-07-27 8:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 12:07 [OSS-Tools] [PATCH 1/3] meson: options: use defaults of type boolean for boolean options Ahmad Fatoum
2023-06-12 12:07 ` [OSS-Tools] [PATCH 2/3] test: add test case with non-existent /dev/file Ahmad Fatoum
2023-07-27 8:23 ` Roland Hieber
2023-06-12 12:07 ` [OSS-Tools] [PATCH 3/3] meson: set optimization level to -O2 by default Ahmad Fatoum
2023-07-27 8:23 ` Roland Hieber [this message]
2023-07-27 8:23 ` [OSS-Tools] [PATCH 1/3] meson: options: use defaults of type boolean for boolean options Roland Hieber
2023-08-01 10:10 ` Roland Hieber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230727082345.rzbo3c3ds6krj32k@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=oss-tools@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox