From a06989c1aeaf6463e554131993c5cb395d3f08bd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 27 Feb 2013 02:39:22 -0400 Subject: 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. --- Utility/UserInfo.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Utility/UserInfo.hs') diff --git a/Utility/UserInfo.hs b/Utility/UserInfo.hs index 00790f615..916ebb191 100644 --- a/Utility/UserInfo.hs +++ b/Utility/UserInfo.hs @@ -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 -- cgit v1.2.3