From: Florian Fainelli Date: Thu, 7 Aug 2008 12:01:55 +0000 (+0000) Subject: avrusbboot needs libgcc to compile correctly X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=f501faae07d30a0bf81273b31815819297538efe avrusbboot needs libgcc to compile correctly SVN-Revision: 12237 --- diff --git a/utils/avrusbboot/Makefile b/utils/avrusbboot/Makefile index 437784214a..7313d523a1 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