aboutsummaryrefslogtreecommitdiff
path: root/package/boost/boost.mk
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2015-11-15 13:24:55 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-17 22:10:15 +0100
commit4b13641be6a83aca80a7a9bdfe03f71465355b3c (patch)
treefc553bc49c96d210cd7b3cdba98c7c9cfb08bc15 /package/boost/boost.mk
parent29d1f8d1b616fefeaf6a90590f64ea762eb09b41 (diff)
downloadbuildroot-4b13641be6a83aca80a7a9bdfe03f71465355b3c.tar.gz
buildroot-4b13641be6a83aca80a7a9bdfe03f71465355b3c.tar.bz2
boost: specify architecture variant for sparc
Instead of using a patch to specify the architecture variant for sparc, use some Boost configure variables. [Thomas: reword commit log.] 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..efc0020fe2 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_sparc),y)
+BOOST_OPTS += architecture=sparc instruction-set=v8
+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)