libnspr: fix build with ARMv7 toolchains
PATCH 1/1 libnspr: fix build with ARMv7 toolchains
Fixes the following build failure:
http://autobuild.buildroot.org/results/d7323831372050e425a34f5104a46d8cbd6be214/build-end.log
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/libnspr/libnspr.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/libnspr/libnspr.mk +6 -0
@@ -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
Signature · 1 line
1.7.9.5
PATCH 1/1 libnspr: fix build with ARMv7 toolchains
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Fixes the following build failure:
Thomas> http://autobuild.buildroot.org/results/d7323831372050e425a34f5104a46d8cbd6be214/build-end.log
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard