summaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/zlib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index fd40ea26a..76a2291f7 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -24,8 +24,8 @@ $(ZLIB_DIR)/.source: $(DL_DIR)/$(ZLIB_SOURCE)
$(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source
(cd $(ZLIB_DIR); \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(ZLIB_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)"
+ CFLAGS="$(TARGET_CFLAGS) $(ZLIB_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--shared \
--prefix=/usr \