[oe] [meta-gnome][PATCH 3/4] network-manager-applet: Remove all occurances of -Werror in makefiles

Khem Raj raj.khem at gmail.com
Thu Jun 29 04:52:53 UTC 2017


There are options like -Werror=foo which get trimmed to =foo and
results in compiler fails

Fixes

| aarch64-bec-linux-gcc: error: =format-security: No such file or directory

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../network-manager-applet/network-manager-applet_1.4.4.bb              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
index 5ad107012..8cec305ef 100644
--- a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.4.4.bb
@@ -20,7 +20,7 @@ PACKAGECONFIG ??= ""
 do_configure_append() {
     # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
     for i in $(find ${B} -name "Makefile") ; do
-        sed -i -e s:-Werror::g $i
+        sed -i -e s%-Werror[^[:space:]]*%%g $i
     done
 }
 
-- 
2.13.2




More information about the Openembedded-devel mailing list