From 8d5d401d930680bf8ba301719eb6445ba70d6b39 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 5 May 2009 13:27:17 +0000 Subject: [PATCH] avrusbboot: fix compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@15627 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/avrusbboot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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