We need LDFLAGS here.
author"Steven J. Hill" <sjhill@realitydiluted.com>
Tue, 17 Jul 2007 00:23:46 +0000 (00:23 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Tue, 17 Jul 2007 00:23:46 +0000 (00:23 -0000)
package/mtd/mtd.mk

index 30da86707858f5ec5671d50a42b1792258f3f59d..0a94deb667b7a2185218453e2b96833124a274d8 100644 (file)
@@ -118,6 +118,7 @@ $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
        $(MAKE) $(TARGET_CONFIGURE_OPTS) \
                CFLAGS+="-I$(MTD_DIR)/include" \
                CFLAGS+="-I$(LINUX_HEADERS_DIR)/include" \
+               LDFLAGS="$(TARGET_LDFLAGS)" \
                LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
 
 MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))