]> git.openpandora.org Git - openembedded.git/commitdiff
opkg-nogpg_svn.bb: link without `-Wl,--as-needed' for nylon
authorMartin Dietze <herbert@spamcop.net>
Sun, 29 Nov 2009 20:20:21 +0000 (21:20 +0100)
committerMartin Dietze <herbert@spamcop.net>
Sun, 29 Nov 2009 20:20:21 +0000 (21:20 +0100)
 * nylon uses a gcc3-based toolchain which does not support this option, thus added an override

recipes/opkg/opkg-nogpg_svn.bb

index 9ddc589b49914442313a2dc7835f9e5762a9b15f..33d9987463dcbedf28a04b0650a6a6015a18a054 100644 (file)
@@ -20,5 +20,8 @@ LDFLAGS_append = " -Wl,--as-needed"
 do_configure_prepend() {
        sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
 }
+do_configure_prepend_nylon() {
+       LDFLAGS="`echo "$LDFLAGS" | sed "s/ -Wl,--as-needed//"`"
+}
 
 DEFAULT_PREFERENCE = "-1"