Skip to content

Commit

Permalink
OpenBSD --strip-unneeded stripts too much
Browse files Browse the repository at this point in the history
  • Loading branch information
geekosaur committed Dec 6, 2024
1 parent 8cc49d9 commit 2088ea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cabal/src/Distribution/Simple/Program/Strip.hs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ stripLib verbosity (Platform arch os) progdb path = do
IOS -> return ()
AIX -> return ()
Solaris -> return ()
OpenBSD -> -- '--strip-unneeded' sometimes strips too much on OpenBSD.
return ()
Windows ->
-- Stripping triggers a bug in 'strip.exe' for
-- libraries with lots identically named modules. See
Expand Down

0 comments on commit 2088ea1

Please sign in to comment.