summaryrefslogtreecommitdiff
path: root/package/libnspr
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnspr')
-rw-r--r--package/libnspr/libnspr.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk
index c2cc99685..689caa424 100644
--- a/package/libnspr/libnspr.mk
+++ b/package/libnspr/libnspr.mk
@@ -12,6 +12,8 @@ LIBNSPR_INSTALL_STAGING = YES
LIBNSPR_CONF_ENV = HOST_CFLAGS="-g -O2" \
HOST_LDFLAGS="-lc"
# NSPR mixes up --build and --host
-LIBNSPR_CONF_OPT = --host=$(GNU_HOST_NAME)
+LIBNSPR_CONF_OPT = --host=$(GNU_HOST_NAME)
+LIBNSPR_CONF_OPT += --$(if $(BR2_ARCH_IS_64),en,dis)able-64bit
+LIBNSPR_CONF_OPT += --$(if $(BR2_INET_IPV6),en,dis)able-ipv6
$(eval $(autotools-package))