From f230532434ecdda58e13eba189e0adf705a8afdf Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 7 Aug 2008 12:01:55 +0000 Subject: [PATCH] avrusbboot needs libgcc to compile correctly git-svn-id: svn://svn.openwrt.org/openwrt/packages@12237 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/avrusbboot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/avrusbboot/Makefile b/utils/avrusbboot/Makefile index 437784214..7313d523a 100644 --- a/utils/avrusbboot/Makefile +++ b/utils/avrusbboot/Makefile @@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk define Package/avrusbboot SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+libusb +uclibcxx + DEPENDS:=+libusb +uclibcxx +libgcc TITLE:=USB bootloader for Atmel AVR controllers URL:=http://www.fischl.de/avrusbboot/ endef @@ -42,7 +42,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/software \ CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/uClibc++" \ - LFLAGS="-L$(STAGING_DIR)/usr/lib -nodefaultlibs -luClibc++ -lusb" \ + LFLAGS="-L$(STAGING_DIR)/usr/lib -nodefaultlibs -luClibc++ -lusb -lgcc_s" \ all endef -- 2.11.0