Commit cb3e1045 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2450 from erikd/master

Cabal : Fix incomplete pattern matches.
parents 0908ba72 eca6b64e
......@@ -887,6 +887,7 @@ getRPaths lbi clbi | supportRPaths hostOS = do
supportRPaths IOS = False
supportRPaths Android = False
supportRPaths Ghcjs = False
supportRPaths Hurd = False
supportRPaths (OtherOS _) = False
-- Do _not_ add a default case so that we get a warning here when a new OS
-- is added.
......
......@@ -559,6 +559,7 @@ platformDefines lbi =
IOS -> ["ios"]
Android -> ["android"]
Ghcjs -> ["ghcjs"]
Hurd -> ["hurd"]
OtherOS _ -> []
archStr = case hostArch of
I386 -> ["i386"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment