GaloisInc / HaLVM

The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen
BSD 3-Clause "New" or "Revised" License
1.05k stars 88 forks source link

Set $@ if file path received, remove additional $LIB call, add --no-as-needed case #97

Closed dmjio closed 7 years ago

dmjio commented 7 years ago

As of GHC-8.0.1, if ldkernel is called without a file path, linker errors may occur. This change only formats $@ in the presence of a file containing linker arguments (received from GHC), otherwise arguments should pass through. cc @izgzhen @acw