All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libx11.inc: disable warnings that don't work on certain compilers
@ 2012-09-24 19:55 Matthew McClintock
  2012-09-24 19:55 ` [PATCH 2/2] libx11: fix nativesdk build on older distros Matthew McClintock
  2012-09-24 20:00 ` [PATCH 1/2] libx11.inc: disable warnings that don't work on certain compilers Martin Jansa
  0 siblings, 2 replies; 21+ messages in thread
From: Matthew McClintock @ 2012-09-24 19:55 UTC (permalink / raw)
  To: openembedded-core

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"

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





^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-09-26 18:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/2] libx11.inc: disable warnings that don't work on certain compilers Martin Jansa
2012-09-24 20:06   ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.