Link with libgcc_s it would fail otherwise on x86_64-uclibc (and maybe others)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 10 Nov 2008 21:20:30 +0000 (21:20 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 10 Nov 2008 21:20:30 +0000 (21:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13170 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/cbtt/Makefile

index e38aa81..8377429 100644 (file)
@@ -45,7 +45,7 @@ $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -nostdinc++" \
-               LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs $(4) -lz -luClibc++ -lm -lpthread -lgcc" \
+               LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs $(4) -lz -luClibc++ -lm -lpthread -lgcc_s" \
                $(3)
        touch $$@