From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] package/qt5/qt5base: disable predefined -Og optimization
Date: Sat, 22 Jun 2019 20:54:01 +0200 [thread overview]
Message-ID: <20190622205401.5d2b4c25@windsurf> (raw)
In-Reply-To: <20190618084535.75870-2-giulio.benetti@micronovasrl.com>
On Tue, 18 Jun 2019 10:45:32 +0200
Giulio Benetti <giulio.benetti@micronovasrl.com> wrote:
> Starting from Qt5 5.9.0 -optimize-debug is enabled by default causing
> -Og flag to be appended to CFLAGS and consequently override
> TARGET_CFLAGS. We don't want this so let's pass -no-optimize-debug to
> QT5BASE_CONFIGURE_OPTS if QT5_VERSION_LATEST=y.
>
> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
In fact, optimize-debug is only enabled for debug builds, so I adjusted
the commit log and comment and applied. It would be good to check if
optimize-size is automatically enabled (or not) for release builds, and
see if we should -no-optimize-size as well.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-06-22 18:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 8:45 [Buildroot] [PATCH 0/4] Microblaze clean up 2 Giulio Benetti
2019-06-18 8:45 ` [Buildroot] [PATCH 1/4] package/qt5/qt5base: disable predefined -Og optimization Giulio Benetti
2019-06-22 18:54 ` Thomas Petazzoni [this message]
2019-06-26 14:06 ` Giulio Benetti
2019-06-18 8:45 ` [Buildroot] [PATCH 2/4] toolchain: bug 90620 has not been fixed in gcc 8.x Giulio Benetti
2019-06-22 18:54 ` Thomas Petazzoni
2019-06-18 8:45 ` [Buildroot] [PATCH 3/4] package/qt5/qt5base: work around gcc bug 90620 Giulio Benetti
2019-06-22 18:54 ` Thomas Petazzoni
2019-06-18 8:45 ` [Buildroot] [PATCH 4/4] package/libtorrent-rasterbar: work around gcc bug 85180 Giulio Benetti
2019-06-22 18:54 ` Thomas Petazzoni
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=20190622205401.5d2b4c25@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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