From a6f587c3ac875f4d89cedef234e6c6762cbdfaaa Mon Sep 17 00:00:00 2001 From: Martin Dietze Date: Sun, 29 Nov 2009 21:20:21 +0100 Subject: opkg-nogpg_svn.bb: link without `-Wl,--as-needed' for nylon * nylon uses a gcc3-based toolchain which does not support this option, thus added an override --- recipes/opkg/opkg-nogpg_svn.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/opkg/opkg-nogpg_svn.bb b/recipes/opkg/opkg-nogpg_svn.bb index 9ddc589b49..33d9987463 100644 --- a/recipes/opkg/opkg-nogpg_svn.bb +++ b/recipes/opkg/opkg-nogpg_svn.bb @@ -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" -- cgit v1.2.3