summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
OpenPOWER on IntegriCloud