Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Nov 7, 2023
1 parent 2813161 commit 635c854
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cabal/src/Distribution/Simple/Program/Ld.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ combineObjectFiles verbosity lbi ld target files = do
case Map.lookup "Supports relocatable output" $ programProperties ld of
Just "YES" -> pure ()
Just "NO" ->
dieWithException verbosity $ CombineObjectFilesRelocatableUnsupported
if False
then dieWithException verbosity $ CombineObjectFilesRelocatableUnsupported
else putStrLn "dieWithException verbosity $ CombineObjectFilesRelocatableUnsupported"
_other -> pure () -- NOTE: This may still fail if the compiler does not support -r.
let simpleArgs = ["-r", "-o", target]

Expand Down

0 comments on commit 635c854

Please sign in to comment.