projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Suppress some warnings on Windows
[ghc-hetmet.git]
/
utils
/
hsc2hs
/
hsc2hs.sh
diff --git
a/utils/hsc2hs/hsc2hs.sh
b/utils/hsc2hs/hsc2hs.sh
index
fe00d45
..
62b5a58
100644
(file)
--- a/
utils/hsc2hs/hsc2hs.sh
+++ b/
utils/hsc2hs/hsc2hs.sh
@@
-1,13
+1,2
@@
-
tflag="--template=$HSC2HS_DIR/template-hsc.h"
-for arg do
- case "$arg" in
- -c*) HSC2HS_EXTRA=;;
- --cc=*) HSC2HS_EXTRA=;;
- -t*) tflag=;;
- --template=*) tflag=;;
- --) break;;
- esac
-done
-
$HSC2HS_BINDIR/$HS_PROG $tflag $HSC2HS_EXTRA "$@"