diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-06-17 16:52:58 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-06-17 17:24:29 +0100 |
commit | 91012afdc9f271e084db18867b819bbbe969f1bf (patch) | |
tree | 902b5503e34600268d4395df8582ca80fa0771ed /libffi/ghc.mk | |
parent | a0622459f1d9a7068e81b8a707ffc63e153444f8 (diff) | |
download | haskell-wip/t20004.tar.gz |
Linker/darwin: Properly honour -fno-use-rpathswip/t20004
The specification is now simple
* On linux, use `-Xlinker -rpath -Xlinker` to set the rpath of the
executable
* On darwin, never use `-Xlinker -rpath -Xlinker`, always inject
the rpath afterwards, see `runInjectRPaths`.
* If `-fno-use-rpaths` is passed then *never* inject anything into the
rpath.
Fixes #20004
Diffstat (limited to 'libffi/ghc.mk')
0 files changed, 0 insertions, 0 deletions