don't use gcc_s on avr32 - fixes uclibc++ compile
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 02:34:32 +0000 (02:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 02:34:32 +0000 (02:34 +0000)
SVN-Revision: 12121

libs/uclibc++/Makefile

index 3b438fe..688c5d2 100644 (file)
@@ -47,6 +47,9 @@ MAKE_FLAGS:= \
        ARCH_CFLAGS="$(TARGET_CFLAGS)" \
        CROSS="$(TARGET_CROSS)" \
        CP="$(CP)" \
+       $(if $(CONFIG_TARGET_avr32),check_as_needed=)
+
+# check_as_needed overrides dependency on libgcc_s
 
 define Build/Configure
        if [ -f ./files/config.$(UCLIBC_TARGET_ARCH) ]; then \