workaround ghc weirdness with -odir
The option cause it to always build to build/Main.o, no matter what binary it was building. This caused extra work, and in some cases, could cause the wrong code to be put into the final binary.
This commit is contained in:
parent
55ca64d851
commit
f189929b8b
3 changed files with 8 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
{- git-annex main program
|
||||
{- git-annex main program stub
|
||||
-
|
||||
- Copyright 2010 Joey Hess <joey@kitenet.net>
|
||||
-
|
||||
|
@ -7,12 +7,8 @@
|
|||
|
||||
import System.Environment
|
||||
|
||||
import qualified GitRepo as Git
|
||||
import CmdLine
|
||||
import GitAnnex
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
args <- getArgs
|
||||
gitrepo <- Git.repoFromCwd
|
||||
dispatch gitrepo args cmds options header
|
||||
run args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue