[oe] [meta-oe][PATCH] gpsd: Don't build without optimization

Khem Raj raj.khem at gmail.com
Tue Jul 9 18:54:19 UTC 2019


On Tue, Jul 9, 2019 at 10:26 AM Adrian Bunk <bunk at stusta.de> wrote:
>
> The upstream build system adds -O0 when debug is enabled.
>
> Signed-off-by: Adrian Bunk <bunk at 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.

>      chrpath='yes' \
>      systemd='${SYSTEMD_OESCONS}' \
>      libdir='${libdir}' \
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list