mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 10:33:06 +02:00
boost: disable stactrace from exception on i686
This commit is contained in:
parent
b93f4635bd
commit
c74ec9f801
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue