summaryrefslogtreecommitdiff
path: root/cleopatre/buildroot/package/mtd/mtd-utils
diff options
context:
space:
mode:
authorJérémy Dufour2012-12-17 16:26:31 +0100
committerJérémy Dufour2012-12-20 13:39:03 +0100
commite630244db9932e2376db598d36b00d42b59d49b8 (patch)
treee1b4a917a63e2eac5b8827b3121b71ba49a66aa0 /cleopatre/buildroot/package/mtd/mtd-utils
parentc3b7145177d8d3546ca01dd80178658aeba654c3 (diff)
cleo/buildroot/package/mtd: add missing LDFLAGS to link with zlib, refs #3616
This patch is coming from commit 52f993ba79a0e136562b342ad53a042443276f17.
Diffstat (limited to 'cleopatre/buildroot/package/mtd/mtd-utils')
-rw-r--r--cleopatre/buildroot/package/mtd/mtd-utils/mtd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cleopatre/buildroot/package/mtd/mtd-utils/mtd.mk b/cleopatre/buildroot/package/mtd/mtd-utils/mtd.mk
index e824595165..f5fd6aa98f 100644
--- a/cleopatre/buildroot/package/mtd/mtd-utils/mtd.mk
+++ b/cleopatre/buildroot/package/mtd/mtd-utils/mtd.mk
@@ -102,7 +102,7 @@ MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y))
$(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
mkdir -p $(TARGET_DIR)/usr/sbin
$(MAKE) CFLAGS="-I. -I./include -I$(LINUX_HEADERS_DIR)/include -I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \
- BUILDDIR=$(MTD_DIR) \
+ LDFLAGS="$(TARGET_LDFLAGS)" BUILDDIR=$(MTD_DIR) \
CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) LINUXDIR=$(LINUX26_DIR) WITHOUT_XATTR=1 -C $(MTD_DIR)
MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))