Ensure that we always link against libm
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 28 Jul 2017 17:41:04 +0000 (13:41 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 28 Jul 2017 17:41:06 +0000 (13:41 -0400)
commit0e3c10160472df082fd3decd98c2489a2f8e68bd
tree0fb0045f12ac3aa47431093d122e57383e79a245
parentd08b9ccdf2812e8f8fa34d0c89275deee574524c
Ensure that we always link against libm

ld.gold is particularly picky that we declare all of our link
dependencies on Nix. See #14022.

Test Plan: Validate on Nix

Reviewers: austin

Subscribers: hvr, rwbarton, thomie

GHC Trac Issues: #14022

Differential Revision: https://phabricator.haskell.org/D3787
compiler/main/DriverPipeline.hs
compiler/main/SysTools.hs