Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libnspr: fix build with ARMv7 toolchains
@ 2012-11-10 22:12 Thomas Petazzoni
  2012-11-15 23:28 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2012-11-10 22:12 UTC (permalink / raw)
  To: buildroot

Fixes the following build failure:

  http://autobuild.buildroot.org/results/d7323831372050e425a34f5104a46d8cbd6be214/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libnspr/libnspr.mk |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk
index 736984d..a9d5812 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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-15 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10 22:12 [Buildroot] [PATCH] libnspr: fix build with ARMv7 toolchains Thomas Petazzoni
2012-11-15 23:28 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox