From: nbd Date: Tue, 5 May 2009 13:27:17 +0000 (+0000) Subject: avrusbboot: fix compile X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=8d5d401d930680bf8ba301719eb6445ba70d6b39;p=packages.git avrusbboot: fix compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@15627 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/avrusbboot/Makefile b/utils/avrusbboot/Makefile index e8a21a322..546949edc 100644 --- a/utils/avrusbboot/Makefile +++ b/utils/avrusbboot/Makefile @@ -41,7 +41,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/software \ CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++" \ - LFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++ -lusb $(LIBGCC_S)" \ + LFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++ -lc -lusb $(LIBGCC_S)" \ all endef