summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-23 23:10:57 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-23 23:10:57 +0100
commit79b7a566a29386b6075834a46c9c926d503581d9 (patch)
treeea0a86b35e5fbb33117956f6709fc24c634cf1cb
parentd87496637d127fd500207a642c1f11925109d403 (diff)
downloadopenembedded-core-79b7a566a29386b6075834a46c9c926d503581d9.tar.gz
openembedded-core-79b7a566a29386b6075834a46c9c926d503581d9.tar.bz2
openembedded-core-79b7a566a29386b6075834a46c9c926d503581d9.zip
opkg: Disable Werror, too many false positives with gcc 4.3.3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/opkg/opkg.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg.inc b/meta/packages/opkg/opkg.inc
index 852d2e49b4..0b1db89c8a 100644
--- a/meta/packages/opkg/opkg.inc
+++ b/meta/packages/opkg/opkg.inc
@@ -20,4 +20,9 @@ SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http \
S = "${WORKDIR}/opkg"
+# Werror gives all kinds bounds issuses with gcc 4.3.3
+do_configure_prepend() {
+ sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
+}
+
inherit autotools_stage pkgconfig