summaryrefslogtreecommitdiffstats
path: root/package/libmad
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmad')
-rw-r--r--package/libmad/libmad.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk
index 4b46463f1..dc7791193 100644
--- a/package/libmad/libmad.mk
+++ b/package/libmad/libmad.mk
@@ -21,6 +21,8 @@ $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE)
$(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked
(cd $(LIBMAD_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \