mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 03:23:01 +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"
|
makedepends+=" libbacktrace"
|
||||||
subpackages+=" libboost_stacktrace_backtrace"
|
subpackages+=" libboost_stacktrace_backtrace"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_bst_except=off
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*)
|
x86_64*)
|
||||||
|
_bst_except=on
|
||||||
subpackages+=" libboost_stacktrace_from_exception"
|
subpackages+=" libboost_stacktrace_from_exception"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -134,6 +137,7 @@ do_build() {
|
||||||
--user-config=${wrksrc}/user-config.jam \
|
--user-config=${wrksrc}/user-config.jam \
|
||||||
--toolset=gcc abi=${_abi} architecture=${_arch} \
|
--toolset=gcc abi=${_abi} architecture=${_arch} \
|
||||||
python=${py3_ver} release \
|
python=${py3_ver} release \
|
||||||
|
boost.stacktrace.from_exception="${_bst_except}" \
|
||||||
cxxflags="${CXXFLAGS}" linkflags="${LDFLAGS}" \
|
cxxflags="${CXXFLAGS}" linkflags="${LDFLAGS}" \
|
||||||
threading=multi runtime-link=shared link=shared,static
|
threading=multi runtime-link=shared link=shared,static
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue