aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.cc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-31 07:02:54 +0100
committerIain Sandoe <iain@sandoe.co.uk>2025-04-02 15:04:37 +0100
commit17ed44c96f6e5c0cc02d8cb29ff5943dd30ab3c1 (patch)
tree91a8f67ba4c72b5655c4a179b57656580a567222 /gcc/rust/backend/rust-compile-expr.cc
parentefe72d9f050a72ffb698adef8434afae1849dcff (diff)
downloadgcc-17ed44c96f6e5c0cc02d8cb29ff5943dd30ab3c1.zip
gcc-17ed44c96f6e5c0cc02d8cb29ff5943dd30ab3c1.tar.gz
gcc-17ed44c96f6e5c0cc02d8cb29ff5943dd30ab3c1.tar.bz2
config, toplevel, Darwin: Pass -B instead of -L to C++ commands.
Darwin from 10.11 needs embedded rpaths to find the correct libraries at runtime. Recent increases in hardening have made it such that the dynamic loader will no longer fall back to using an installed libstdc++ when the (new) linked one is not found. This means we fail configure tests (that should pass) for runtimes that use C++. We can resolve this by passing '-B' to the C++ command lines instead of '-L' (-B implies -L on Darwin, but also causes a corresponding embedded rpath). ChangeLog: * configure: Regenerate. * configure.ac: Use -B instead of -L to specifiy the C++ runtime paths on Darwin. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
0 files changed, 0 insertions, 0 deletions