diff options
-rw-r--r-- | package/libnspr/libnspr.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk index 736984d09..a9d5812f2 100644 --- a/package/libnspr/libnspr.mk +++ b/package/libnspr/libnspr.mk @@ -16,6 +16,12 @@ 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 +ifeq ($(BR2_cortex_a8)$(BR2_cortex_a9),y) +LIBNSPR_CONF_OPT += --enable-thumb2 +else +LIBNSPR_CONF_OPT += --disable-thumb2 +endif + define LIBNSPR_INSTALL_STAGING_PC $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnspr/nspr.pc.in \ $(STAGING_DIR)/usr/lib/pkgconfig/nspr.pc |