| Submitter | Paul Menzel |
|---|---|
| Date | May 9, 2011, 11:25 a.m. |
| Message ID | <1304940325.3791.45.camel@mattotaupa> |
| Download | mbox | patch |
| Permalink | /patch/3475/ |
| State | New, archived |
| Headers | show |
Comments
Patch
diff --git a/recipes/networkmanager/network-manager-applet_git.bb b/recipes/networkmanager/network-manager-applet_git.bb index 8493f6d..5f7e0f8 100644 --- a/recipes/networkmanager/network-manager-applet_git.bb +++ b/recipes/networkmanager/network-manager-applet_git.bb @@ -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() {
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 <paulepanter@users.sourceforge.net> --- .../networkmanager/network-manager-applet_git.bb | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)