network-manager-applet: Remove all occurances of -Werror in makefiles

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@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj 2017-06-28 21:52:53 -07:00 committed by Martin Jansa
parent 52919077a3
commit 194322b550

View File

@ -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
}