diff --git a/srcpkgs/boost/template b/srcpkgs/boost/template index a39a9811589..2ab01a33ca1 100644 --- a/srcpkgs/boost/template +++ b/srcpkgs/boost/template @@ -75,8 +75,11 @@ else makedepends+=" libbacktrace" subpackages+=" libboost_stacktrace_backtrace" fi + +_bst_except=off case "$XBPS_TARGET_MACHINE" in - i686*|x86_64*) + x86_64*) + _bst_except=on subpackages+=" libboost_stacktrace_from_exception" ;; esac @@ -134,6 +137,7 @@ do_build() { --user-config=${wrksrc}/user-config.jam \ --toolset=gcc abi=${_abi} architecture=${_arch} \ python=${py3_ver} release \ + boost.stacktrace.from_exception="${_bst_except}" \ cxxflags="${CXXFLAGS}" linkflags="${LDFLAGS}" \ threading=multi runtime-link=shared link=shared,static }