From: Richard Purdie Date: Sat, 23 May 2009 22:10:57 +0000 (+0100) Subject: opkg: Disable Werror, too many false positives with gcc 4.3.3 X-Git-Tag: 2011-1~7437 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=79b7a566a29386b6075834a46c9c926d503581d9;p=openembedded-core.git opkg: Disable Werror, too many false positives with gcc 4.3.3 Signed-off-by: Richard Purdie --- 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