Debian Codegraph @

contrib/depends/patches/boost/disable_addr2line.patch

raw
1 Fixes a reproducibility defect. We don't need the library.
2
3 diff --git a/libs/stacktrace/build/Jamfile.v2 b/libs/stacktrace/build/Jamfile.v2
4 index 230d5a8b4..d3d74599b 100644
5 --- a/libs/stacktrace/build/Jamfile.v2
6 +++ b/libs/stacktrace/build/Jamfile.v2
7 @@ -48,9 +48,6 @@ rule mp-run-simple ( sources + : args * : input-files * : requirements * : targe
8 mp-run-simple has_backtrace.cpp : : : <library>backtrace : libbacktrace ;
9 explicit libbacktrace ;
10
11 -mp-run-simple has_addr2line.cpp : : : : addr2line ;
12 -explicit addr2line ;
13 -
14 mp-run-simple has_windbg.cpp : : : <library>Dbgeng <library>ole32 : WinDbg ;
15 explicit WinDbg ;
16
17 @@ -82,19 +79,6 @@ lib boost_stacktrace_backtrace
18 #<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
19 ;
20
21 -lib boost_stacktrace_addr2line
22 - : # sources
23 - ../src/addr2line.cpp
24 - : # requirements
25 - <warnings>all
26 - <target-os>linux:<library>dl
27 - <link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
28 - [ check-target-builds ../build//addr2line : : <build>no ]
29 - : # default build
30 - : # usage-requirements
31 - #<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
32 - ;
33 -
34 lib boost_stacktrace_basic
35 : # sources
36 ../src/basic.cpp
37 @@ -152,4 +136,4 @@ lib boost_stacktrace_from_exception
38 #<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
39 ;
40
41 -boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_addr2line boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached boost_stacktrace_from_exception ;
42 +boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached boost_stacktrace_from_exception ;