Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags.
The only thing lost is ./ghci Speed: make fast used to take 20 seconds here, when rebuilding from touching Command/Unused.hs. With cabal, it's 29 seconds.
This commit is contained in:
parent
32aee1bb3e
commit
cbd53b4a8c
18 changed files with 56 additions and 141 deletions
|
@ -28,7 +28,7 @@ myUserName :: IO String
|
|||
myUserName = myVal ["USER", "LOGNAME"] userName
|
||||
|
||||
myUserGecos :: IO String
|
||||
#ifdef WITH_ANDROID
|
||||
#ifdef __ANDROID__
|
||||
myUserGecos = return "" -- userGecos crashes on Android
|
||||
#else
|
||||
myUserGecos = myVal [] userGecos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue