Skip to content
Snippets Groups Projects
Commit 95f19e8d authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Don't use `--strip-unneeded` on IBM AIX

IBM AIX requires its own proprietary linker which does not support
`--strip-unneeded`.
parent 03479f0b
No related branches found
No related tags found
No related merge requests found
......@@ -47,10 +47,11 @@ 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, iOS or
OSX -> -- '--strip-unneeded' is not supported on OS X, iOS, AIX, or
-- Solaris. See #1630.
return ()
IOS -> return ()
AIX -> return ()
Solaris -> return ()
Windows -> -- Stripping triggers a bug in 'strip.exe' for
-- libraries with lots identically named modules. See
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment