summaryrefslogtreecommitdiff
path: root/packages/opkg/opkg-nogpg_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opkg/opkg-nogpg_svn.bb')
-rw-r--r--packages/opkg/opkg-nogpg_svn.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/opkg/opkg-nogpg_svn.bb b/packages/opkg/opkg-nogpg_svn.bb
index aa16b551fe..3a7a0ee3b2 100644
--- a/packages/opkg/opkg-nogpg_svn.bb
+++ b/packages/opkg/opkg-nogpg_svn.bb
@@ -7,4 +7,9 @@ SRCREV = "${SRCREV_pn-opkg}"
EXTRA_OECONF += "--disable-gpg"
+# The nogpg version isn't getting much love and has an unused variable which trips up -Werror
+do_configure_prepend() {
+ sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
+}
+
DEFAULT_PREFERENCE = "-1"