network-manager-applet_git: use `--enable-more-warnings=no`
PATCH 1/1 network-manager-applet_git: use `--enable-more-warnings=no`
Date: Mon, 9 May 2011 12:46:40 +0200
To prevent the following compile error [1]
[…]
cc1: warnings being treated as errors
applet-dialogs.c: In function 'applet_info_dialog_show':
applet-dialogs.c:331:22: error: 'method' may be used uninitialized in this function […]
-Werror should not be passed. According to the comment added since 0.7.1 --enable-more-warnings=no did not do that. Testing this recipe version with angstrom-2010.x for MACHINE="beagleboard" worked fine though.
[1] http://mail.gnome.org/archives/networkmanager-list/2011-May/msg00075.html
Signed-off-by Paul Menzel <[email protected]>
--- .../networkmanager/network-manager-applet_git.bb | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)
recipes/networkmanager/network-manager-applet_git.bb +1 -7
@@ -17,13 +17,7 @@ SRC_URI = "git://git.gnome.org/network-manager-applet;protocol=git;branch=NMA_0_ S = "${WORKDIR}/git" -do_configure_append() { - rm config.log - # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror - for i in $(find ${S} -name "Makefile") ; do - sed -i -e s:-Werror::g $i - done -} +EXTRA_OECONF = "--enable-more-warnings=no" # Hack around dbus a_console problems do_install_append() {
Signature · 1 line
1.7.4.4