projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
120c58c
)
yet more fixes: Cygwin broke this time
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 21 Jun 2007 14:06:53 +0000
(14:06 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 21 Jun 2007 14:06:53 +0000
(14:06 +0000)
utils/hsc2hs/Makefile
patch
|
blob
|
history
diff --git
a/utils/hsc2hs/Makefile
b/utils/hsc2hs/Makefile
index
dabcd1a
..
d4f5b6c
100644
(file)
--- a/
utils/hsc2hs/Makefile
+++ b/
utils/hsc2hs/Makefile
@@
-45,7
+45,7
@@
endif
$(INPLACE_HS): Makefile $(FPTOOLS_TOP)/mk/config.mk
echo "import System.Cmd; import System.Environment; import System.Exit" > $@
$(INPLACE_HS): Makefile $(FPTOOLS_TOP)/mk/config.mk
echo "import System.Cmd; import System.Environment; import System.Exit" > $@
- echo "main = getArgs >>= \args -> rawSystem \"$(TOP_ABS)/$(GHC_HSC2HS_DIR_REL)/$(HS_PROG)\" (\"--cc=$(CC)\":\"--ld=$(CC)\"$(patsubst %,:\"%\",$(extra_flags)):\"--cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt)\":\"-I$(FPTOOLS_TOP_ABS_PLATFORM)/$(GHC_INCLUDE_DIR_REL)\":args) >>= exitWith" >> $@
+ echo "main = getArgs >>= \args -> rawSystem \"$(TOP_ABS)/$(GHC_HSC2HS_DIR_REL)/$(HS_PROG)\" (\"--cc=$(CC)\":\"--ld=$(CC)\"$(patsubst %,:\"%\",$(extra_flags)):\"--cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt)\":\"-I$(TOP_ABS)/$(GHC_INCLUDE_DIR_REL)\":args) >>= exitWith" >> $@
$(INPLACE_PROG): $(INPLACE_HS)
$(GHC) --make $< -o $@
$(INPLACE_PROG): $(INPLACE_HS)
$(GHC) --make $< -o $@