summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-19 09:07:50 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-19 09:07:50 +0000
commite8011472e5e73520d9611f94de24698c6f0370cd (patch)
tree18f48ef1d74c20f47382db4291ff012400e44943
parent270817188a8554902aa08abf4b6267a294c89246 (diff)
downloadopenembedded-core-e8011472e5e73520d9611f94de24698c6f0370cd.tar.gz
openembedded-core-e8011472e5e73520d9611f94de24698c6f0370cd.tar.bz2
openembedded-core-e8011472e5e73520d9611f94de24698c6f0370cd.zip
opkg: Add Wno-array-bounds to opkg CFLAGS to avoid bogus errors with Werror and gcc 4.3.1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4888 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/opkg/opkg_svn.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
index 054ce9744e..1dd291a3a5 100644
--- a/meta/packages/opkg/opkg_svn.bb
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -19,6 +19,8 @@ FILES_libopkg = "${libdir}/*.so.*"
OPKG_INIT_POSITION = "98"
OPKG_INIT_POSITION_slugos = "41"
+TARGET_CFLAGS += "-Wno-array-bounds"
+
pkg_postinst_opkg () {
#!/bin/sh
if [ "x$D" != "x" ]; then