projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build hsc2hs with Cabal
[ghc-hetmet.git]
/
utils
/
hsc2hs
/
Main.hs
diff --git
a/utils/hsc2hs/Main.hs
b/utils/hsc2hs/Main.hs
index
e541e21
..
b291fd2
100644
(file)
--- a/
utils/hsc2hs/Main.hs
+++ b/
utils/hsc2hs/Main.hs
@@
-579,8
+579,7
@@
output flags name toks = do
linker <- case [l | Linker l <- flags] of
[] -> locateGhc compiler
- [l] -> return l
- _ -> onlyOne "linker"
+ ls -> return (last ls)
writeFile cProgName $
concatMap outFlagHeaderCProg flags++