From: ml+oe@g0hl1n.net
To: Robert Berger <oecore.mailinglist@gmail.com>
Cc: openembedded-devel@lists.openembedded.org,
richard.leitner@skidata.com,
Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
Subject: Re: [oe] [meta-java][PATCH v2] icedtea7-native: host gcc-9, extra CFLAGS needed
Date: Sat, 9 May 2020 11:13:25 +0200 [thread overview]
Message-ID: <20200509091325.GA10958@brokenbit> (raw)
In-Reply-To: <20200508180832.8903-1-robert.berger@ReliableEmbeddedSystems.com>
Hi,
thanks for the patch!
I've rebased it on current master and pushed it to master-next for
further testing!
regards;rl
On Fri, May 08, 2020 at 09:08:32PM +0300, Robert Berger wrote:
> From: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
>
> Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
> ---
> recipes-core/icedtea/icedtea7-native.inc | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
> index 8d0dc71..b9ad2bd 100644
> --- a/recipes-core/icedtea/icedtea7-native.inc
> +++ b/recipes-core/icedtea/icedtea7-native.inc
> @@ -28,6 +28,11 @@ CXX_append = " -std=gnu++98"
> # WORKAROUND: ignore errors from new compilers
> CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type"
>
> +# oe.utils.get_host_compiler_version returns "gcc, 9.2" and we want -> "9"
> +HOST_COMPILER_MAJOR="${@oe.utils.get_host_compiler_version(d)[1].split(".", 2)[0]}"
> +# if compiler version 9 detected, add more CFLAGS
> +CFLAGS_append = " ${@oe.utils.conditional('HOST_COMPILER_MAJOR', '9', '-Wno-error=format-overflow', '', d)}"
> +
> inherit native java autotools pkgconfig
> inherit openjdk-build-helper
> inherit python3native
> --
> 2.17.1
>
>
prev parent reply other threads:[~2020-05-09 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 18:08 [meta-java][PATCH v2] icedtea7-native: host gcc-9, extra CFLAGS needed Robert Berger
2020-05-09 9:13 ` ml+oe [this message]
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=20200509091325.GA10958@brokenbit \
--to=ml+oe@g0hl1n.net \
--cc=oecore.mailinglist@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=richard.leitner@skidata.com \
--cc=robert.berger@ReliableEmbeddedSystems.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