summaryrefslogtreecommitdiff
path: root/package/nbd/nbd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/nbd/nbd.mk')
-rw-r--r--package/nbd/nbd.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk
index cd8d9c1e0..22256c245 100644
--- a/package/nbd/nbd.mk
+++ b/package/nbd/nbd.mk
@@ -20,6 +20,8 @@ $(NBD_DIR)/.unpacked: $(DL_DIR)/$(NBD_SOURCE)
$(NBD_DIR)/.configured: $(NBD_DIR)/.unpacked
(cd $(NBD_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
CC=$(TARGET_CC) \
./configure \
--target=$(GNU_TARGET_NAME) \