summaryrefslogtreecommitdiff
path: root/package/libmad/libmad.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmad/libmad.mk')
-rw-r--r--package/libmad/libmad.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk
index 6e53cf257..3c92d528d 100644
--- a/package/libmad/libmad.mk
+++ b/package/libmad/libmad.mk
@@ -30,6 +30,10 @@ LIBMAD_POST_INSTALL_TARGET_HOOKS += LIBMAD_INSTALL_TARGET_PC
LIBMAD_CONF_OPT = \
--disable-debugging \
- --enable-speed
+ $(if $(BR2_PACKAGE_LIBMAD_OPTIMIZATION_SPEED),--enable-speed) \
+ $(if $(BR2_PACKAGE_LIBMAD_OPTIMIZATION_ACCURACY),--enable-accuracy) \
+ --$(if $(BR2_PACKAGE_LIBMAD_SSO),enable,disable)-sso \
+ --$(if $(BR2_PACKAGE_LIBMAD_ASO),enable,disable)-aso \
+ --$(if $(BR2_PACKAGE_LIBMAD_STRICT_ISO),enable,disable)-strict-iso
$(eval $(call AUTOTARGETS))