From c74ec9f80164b4f9f106a929c3a4f56ee5751438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 15 Aug 2025 15:49:34 +0700 Subject: [PATCH] boost: disable stactrace from exception on i686 --- srcpkgs/boost/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }