Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
bddd2ae2
Commit
bddd2ae2
authored
May 23, 2009
by
Ian Lynagh
Browse files
Fix warnings in ghc-cabal
parent
9aeb98b3
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/ghc-cabal/ghc.mk
View file @
bddd2ae2
...
...
@@ -57,6 +57,7 @@ $(GHC_CABAL_DIR)_dist-dummy-ghc_PROG = dummy-ghc$(exeext)
$(GHC_CABAL_DIR)/dist-dummy-ghc/build/dummy-ghc.hs
:
$(GHC_CABAL_DIR)/ghc.mk $(MKDIRHIER) mk/config.mk
$(MKDIRHIER)
$(
dir
$@
)
echo
"import System.Environment; import System.Cmd; import System.Exit"
>
$@
echo
"main :: IO ()"
>>
$@
echo
"main = do args <- getArgs; if args == [
\"
--numeric-version
\"
] then putStrLn
\"
$(ProjectVersion)
\"
else do e <- rawSystem
\"
$(GHC_STAGE0)
\"
args; exitWith e"
>>
$@
# We don't build dummy-ghc with Cabal, so we need to pass -package
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment