merged

Bruce

On Tue, Sep 1, 2020 at 2:29 AM Chen Qi <[email protected]> wrote:

> gcc-10 uses '-fno-common' by default, which results in build
> error complaining multiple definition.
>
> Use '-fcommon' to fix this problem.
>
> Signed-off-by: Chen Qi <[email protected]>
> ---
>  recipes-extended/nagios/nagios-core_4.4.3.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/recipes-extended/nagios/nagios-core_4.4.3.bb
> b/recipes-extended/nagios/nagios-core_4.4.3.bb
> index 7a86653..c78259e 100644
> --- a/recipes-extended/nagios/nagios-core_4.4.3.bb
> +++ b/recipes-extended/nagios/nagios-core_4.4.3.bb
> @@ -62,6 +62,9 @@ EXTRA_OECONF += "ac_cv_header_ltdl_h=no"
>  # Prevent nagios from suffering host contamination if host has /bin/perl
>  EXTRA_OECONF += "ac_cv_path_PERL=${bindir}/perl"
>
> +# Fix build failure for gcc-10
> +CFLAGS_append = " -fcommon"
> +
>  # Set to "1" to allow nagios-core post-init to modify Apache configuration
>  NAGIOS_MODIFY_APACHE ??= "1"
>
> --
> 2.21.0
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5783): 
https://lists.yoctoproject.org/g/meta-virtualization/message/5783
Mute This Topic: https://lists.yoctoproject.org/mt/76551241/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to