[PATCH] platformFromTriple: fix to recognize Solaris triple (i386-pc-solaris2.11)

Karel Gardas karel.gardas at centrum.cz
Sun Jan 5 17:14:08 UTC 2014


---
 Cabal/Distribution/System.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Cabal/Distribution/System.hs b/Cabal/Distribution/System.hs
index a18e491..4fc76f6 100644
--- a/Cabal/Distribution/System.hs
+++ b/Cabal/Distribution/System.hs
@@ -89,7 +89,7 @@ osAliases Compat     Windows = ["mingw32", "win32"]
 osAliases _          OSX     = ["darwin"]
 osAliases _          IOS     = ["ios"]
 osAliases Permissive FreeBSD = ["kfreebsdgnu"]
-osAliases Permissive Solaris = ["solaris2"]
+osAliases _          Solaris = ["solaris2"]
 osAliases _          _       = []
 
 instance Text OS where
-- 
1.7.3.2



More information about the ghc-devs mailing list