aboutsummaryrefslogtreecommitdiff
path: root/package/boost/boost.mk
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2015-11-03 22:03:14 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-08 15:02:08 +0100
commitfa110626f7225381e79eeb00743e6dd04e8b7757 (patch)
treea81caf9846af48aafaa3673a002b3f68d126ecc9 /package/boost/boost.mk
parent70dffaa1322accf8718643650908da30037a02c3 (diff)
downloadbuildroot-fa110626f7225381e79eeb00743e6dd04e8b7757.tar.gz
buildroot-fa110626f7225381e79eeb00743e6dd04e8b7757.tar.bz2
boost: fix sparc64 compile, set the correct instruction-set
The default for sparc is v7, which doesn't work for sparc64. Use ultrasparc for sparc64. Fixes following autobuild errors: http://autobuild.buildroot.net/results/0cad0a6eddc153098bb6d1501afd1cf4a57a82d1/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/boost/boost.mk')
-rw-r--r--package/boost/boost.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 80325b0a4e..d91baf1175 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -89,6 +89,10 @@ BOOST_OPTS += toolset=gcc \
abi=$(BOOST_ABI) \
variant=$(if $(BR2_ENABLE_DEBUG),debug,release)
+ifeq ($(BR2_sparc64),y)
+BOOST_OPTS += architecture=sparc instruction-set=ultrasparc
+endif
+
# By default, Boost build and installs both the shared and static
# variants. Override that if we want static only or shared only.
ifeq ($(BR2_STATIC_LIBS),y)