[Git][ghc/ghc][wip/toolchain-selection] Fixes

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Mon Jun 26 15:27:48 UTC 2023



Rodrigo Mesquita pushed to branch wip/toolchain-selection at Glasgow Haskell Compiler / GHC


Commits:
b382f2a8 by Rodrigo Mesquita at 2023-06-26T16:27:41+01:00
Fixes

- - - - -


1 changed file:

- utils/ghc-toolchain/src/GHC/Toolchain/Tools/Link.hs


Changes:

=====================================
utils/ghc-toolchain/src/GHC/Toolchain/Tools/Link.hs
=====================================
@@ -185,14 +185,7 @@ checkLinkWorks cc ccLink = withTempDir $ \dir -> do
 
 checkLinkIsGnu :: Program -> M Bool
 checkLinkIsGnu ccLink = do
-<<<<<<< HEAD
   out <- readProgramStdout ccLink ["-Wl,--version"]
-||||||| parent of 4a31527a36e (ghc-toolchain: set CC LD plat. dependent flags)
-  out <- readProgramStdout ccLink ["--version"]
-=======
-  -- ROMES:TODO: Possibly try all these with -Wl,...
-  out <- readProgramStdout ccLink ["--version"]
->>>>>>> 4a31527a36e (ghc-toolchain: set CC LD plat. dependent flags)
   return ("GNU" `isInfixOf` out)
 
 -- | Check for binutils bug #16177 present in some versions of the bfd ld



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b382f2a82b240fed1cfb120de1d86198a8841edf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b382f2a82b240fed1cfb120de1d86198a8841edf
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230626/52109097/attachment-0001.html>


More information about the ghc-commits mailing list