diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2017-03-31 22:47:47 -0400 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-31 22:47:49 -0400 |
| commit | 308287999fcc929891fbcf1221525dd7cbb77860 (patch) | |
| tree | 3a381468905d165d747204e8f563751b63e8e888 /compiler/simplCore | |
| parent | 546c2a17ae3b21448f7fd467cc47807ae977e51f (diff) | |
| download | haskell-308287999fcc929891fbcf1221525dd7cbb77860.tar.gz | |
askCc should be using the linker, not the compiler
When GHCi tries to find a shared lib, it calls "gcc --print-file-name"
to ask gcc where to find it. But since we're looking for libraries,
we're really using the linker here, not the C compiler, so we should be
respecting the values of -pgml and -optl rather than -pgmc and -optc.
Test Plan: validate
Reviewers: bgamari, niteria, austin, hvr, erikd
Reviewed By: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3393
Diffstat (limited to 'compiler/simplCore')
0 files changed, 0 insertions, 0 deletions
