From: nbd Date: Tue, 6 Jan 2009 15:59:06 +0000 (+0000) Subject: use the new LIBGCC_S variable to fix cbtt on avr32 X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=c4f10e9d487409aa504b66510741b450f40876a8;p=packages.git use the new LIBGCC_S variable to fix cbtt on avr32 git-svn-id: svn://svn.openwrt.org/openwrt/packages@13894 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/cbtt/Makefile b/net/cbtt/Makefile index 8377429bb..0702f696d 100644 --- a/net/cbtt/Makefile +++ b/net/cbtt/Makefile @@ -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_s" \ + LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs $(4) -lz -luClibc++ -lm -lpthread $(LIBGCC_S)" \ $(3) touch $$@