mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
Merge pull request #10909
c3c3d23 cmake: apply cxa throw wrap flags when linking common (selsta)
ACKs: jpk68, jeffro256
This commit is contained in:
@@ -86,6 +86,8 @@ target_link_libraries(common
|
|||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
|
|
||||||
if (STACK_TRACE_USE_WRAP)
|
if (STACK_TRACE_USE_WRAP)
|
||||||
|
set_property(TARGET common APPEND PROPERTY LINK_FLAGS
|
||||||
|
"-Wl,--wrap=__cxa_throw")
|
||||||
set_property(TARGET common APPEND PROPERTY INTERFACE_LINK_OPTIONS
|
set_property(TARGET common APPEND PROPERTY INTERFACE_LINK_OPTIONS
|
||||||
"-Wl,--wrap=__cxa_throw"
|
"-Wl,--wrap=__cxa_throw"
|
||||||
"-Wl,-u,__wrap___cxa_throw")
|
"-Wl,-u,__wrap___cxa_throw")
|
||||||
|
|||||||
Reference in New Issue
Block a user