From: Adrian Bunk <bunk@stusta.de>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-oe][PATCH] gpsd: Don't build without optimization
Date: Tue, 9 Jul 2019 22:17:54 +0300 [thread overview]
Message-ID: <20190709191754.GB19705@localhost> (raw)
In-Reply-To: <CAMKF1sp_S44k9HRapQiOLps3ZCbR6c6xPsjW3vOdhniU5nZ6DA@mail.gmail.com>
On Tue, Jul 09, 2019 at 11:54:19AM -0700, Khem Raj wrote:
> On Tue, Jul 9, 2019 at 10:26 AM Adrian Bunk <bunk@stusta.de> wrote:
> >
> > The upstream build system adds -O0 when debug is enabled.
> >
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> > ---
> > meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb
> > index 6716f402a..43bf25a93 100644
> > --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb
> > +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb
> > @@ -36,8 +36,8 @@ PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase"
> > EXTRA_OESCONS = " \
> > sysroot=${STAGING_DIR_TARGET} \
> > libQgpsmm='false' \
> > - debug='true' \
> > - strip='false' \
> > + debug='false' \
> > + nostrip='true' \
>
> I think this change is improvement over what we have, however it will
> be nicer if it was knobbed with
> DEBUG_BUILD flag, then we can get proper debug info when doing a debug
> build as user will expect.
>...
Sorry for being terse in the description.
For gpsd "debug" means adding -g here, and this is already additionally
inserted through the normal OE CFLAGS.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2019-07-09 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-09 17:26 [meta-oe][PATCH] gpsd: Don't build without optimization Adrian Bunk
2019-07-09 18:54 ` Khem Raj
2019-07-09 19:17 ` Adrian Bunk [this message]
2019-07-09 19:23 ` Khem Raj
2019-07-09 20:52 ` Adrian Bunk
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=20190709191754.GB19705@localhost \
--to=bunk@stusta.de \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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