[packages] strace: fix compile with external toolchain by adding kernel include dir...
[openwrt/svn-archive/archive.git] / utils / avrusbboot / Makefile
index e8a21a3223ea5febb647c4288b48bcff27f18124..546949edcafa1d41c1aba1b8bd50ade9c4cec04b 100644 (file)
@@ -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