Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Matthew McClintock <msm@freescale.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] libx11.inc: disable warnings that don't work on certain compilers
Date: Mon, 24 Sep 2012 22:00:50 +0200	[thread overview]
Message-ID: <20120924200050.GF3295@jama.jama.net> (raw)
In-Reply-To: <1348516546-26005-1-git-send-email-msm@freescale.com>

[-- Attachment #1: Type: text/plain, Size: 2386 bytes --]

On Mon, Sep 24, 2012 at 02:55:45PM -0500, Matthew McClintock wrote:
> Fixes these sorts of issues present on older gcc (CentOS 5.x in this case)
> 
> | cc1: error: unrecognized command line option "-Werror=implicit"
> | cc1: error: unrecognized command line option "-Werror=nonnull"
> | cc1: error: unrecognized command line option "-Werror=init-self"
> | cc1: error: unrecognized command line option "-Werror=main"
> | cc1: error: unrecognized command line option "-Werror=missing-braces"
> | cc1: error: unrecognized command line option "-Werror=sequence-point"
> | cc1: error: unrecognized command line option "-Werror=return-type"
> | cc1: error: unrecognized command line option "-Werror=trigraphs"
> | cc1: error: unrecognized command line option "-Werror=array-bounds"
> | cc1: error: unrecognized command line option "-Werror=write-strings"
> | cc1: error: unrecognized command line option "-Werror=address"
> | cc1: error: unrecognized command line option "-Werror=int-to-pointer-cast"
> | cc1: error: unrecognized command line option "-Werror=pointer-to-int-cast"

Shouldn't it be applied only for -native? version?

Cheers,

> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/recipes-graphics/xorg-lib/libx11.inc |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
> index 3ecd9e5..0e99442 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11.inc
> +++ b/meta/recipes-graphics/xorg-lib/libx11.inc
> @@ -11,7 +11,7 @@ inherit siteinfo
>  FILESPATH = "${FILE_DIRNAME}/libx11"
>  
>  PE = "1"
> -INC_PR = "r8"
> +INC_PR = "r9"
>  
>  PROVIDES = "virtual/libx11"
>  
> @@ -23,6 +23,7 @@ DEPENDS += "xproto xextproto xtrans libxcb kbproto inputproto"
>  DEPENDS += "xproto-native"
>  
>  EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/"
> +EXTRA_OEMAKE = '-e CWARNFLAGS=""'
>  
>  # Let people with incredibly archaic requirements enable Xcms and BigFont, but
>  # disable them by default.
> -- 
> 1.7.9.7
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  parent reply	other threads:[~2012-09-24 20:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24 19:55 [PATCH 1/2] libx11.inc: disable warnings that don't work on certain compilers Matthew McClintock
2012-09-24 19:55 ` [PATCH 2/2] libx11: fix nativesdk build on older distros Matthew McClintock
2012-09-24 20:13   ` McClintock Matthew-B29882
2012-09-24 21:08     ` Chris Larson
2012-09-24 22:28       ` McClintock Matthew-B29882
2012-09-24 21:52   ` Saul Wold
2012-09-24 22:28     ` McClintock Matthew-B29882
     [not found]   ` <CAJTo0LYe6LuFQJS_36PYVsjwnp=N9J-XuiFVMntBi76qt+i4aw@mail.gmail.com>
     [not found]     ` <70CC66F5C30A414DADDA6973E4CA391A6A6CE2@039-SN1MPN1-001.039d.mgd.msft.net>
2012-09-25 16:48       ` Burton, Ross
2012-09-25 17:38         ` McClintock Matthew-B29882
     [not found]         ` <CAEsOVNfCLUhhpM91OBLC_paOXzsoS6PMeVXdp2xSnajqGuBcyg@mail.gmail.com>
2012-09-25 18:55           ` McClintock Matthew-B29882
2012-09-25 19:09             ` Burton, Ross
2012-09-25 23:11               ` Daniel Stone
2012-09-26  9:30                 ` Burton, Ross
2012-09-26 17:55                   ` McClintock Matthew-B29882
2012-09-24 20:00 ` Martin Jansa [this message]
2012-09-24 20:06   ` [PATCH 1/2] libx11.inc: disable warnings that don't work on certain compilers McClintock Matthew-B29882
2012-09-24 20:52     ` Burton, Ross
2012-09-24 22:55       ` McClintock Matthew-B29882
     [not found]   ` <CAEsOVNfNgM0b508hovOLYTFe=4o7XDD8meZ37t3UM+sVY4WM8w@mail.gmail.com>
2012-09-24 20:43     ` McClintock Matthew-B29882
2012-09-24 21:07       ` Chris Larson
2012-09-24 22:31         ` McClintock Matthew-B29882

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=20120924200050.GF3295@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --cc=msm@freescale.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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