Permalink
Browse files

Disable strip-unneeded on iOS too

  • Loading branch information...
1 parent 484fc2d commit 3cea7c89efb34ca66ac918141e7b2833be3d5ce0 @lukexi lukexi committed Feb 18, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 Cabal/Distribution/Simple/Program/Strip.hs
View
3 Cabal/Distribution/Simple/Program/Strip.hs
@@ -44,8 +44,9 @@ stripExe verbosity (Platform _arch os) conf path =
stripLib :: Verbosity -> Platform -> ProgramConfiguration -> FilePath -> IO ()
stripLib verbosity (Platform _arch os) conf path = do
case os of
- OSX -> -- '--strip-unneeded' is not supported on OS X. See #1630.
+ OSX -> -- '--strip-unneeded' is not supported on OS X or iOS. See #1630.
return ()
+ IOS -> return ()
_ -> runStrip verbosity conf path args
where
args = ["--strip-unneeded"]

0 comments on commit 3cea7c8

Please sign in to comment.