Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] botan: fix build with mips64el-ctng_n32-linux-gnu toolchain
@ 2014-10-14 16:52 Francois Perrad
  2014-10-14 21:25 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2014-10-14 16:52 UTC (permalink / raw)
  To: buildroot

set --cpu only with "mips"

see http://autobuild.buildroot.org/results/5dc/5dc907c0334d3a3b7abff41eef4e025c1f29a655/build-end.log

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/botan/botan.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index ae0e02d..226294b 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -13,8 +13,14 @@ BOTAN_LICENSE_FILES = doc/license.txt
 BOTAN_INSTALL_STAGING = YES
 BOTAN_INSTALL_TARGET = YES
 
+BOTAN_ARCH = $(BR2_ARCH)
+
+ifneq ($(findstring mips,$(BOTAN_ARCH)),)
+	BOTAN_ARCH = mips
+endif
+
 BOTAN_CONF_OPTS = \
-	--cpu=$(BR2_ARCH) \
+	--cpu=$(BOTAN_ARCH) \
 	--os=linux \
 	--cc=gcc \
 	--cc-bin="$(TARGET_CXX)"
-- 
1.9.1

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

end of thread, other threads:[~2014-10-14 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14 16:52 [Buildroot] [PATCH] botan: fix build with mips64el-ctng_n32-linux-gnu toolchain Francois Perrad
2014-10-14 21:25 ` Arnout Vandecappelle

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