-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10616 from geekosaur/openbsd-overstrip
OpenBSD `--strip-unneeded` strips too much
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
synopsis: "OpenBSD `--strip-unneeded` sometimes strips too much" | ||
packages: [Cabal] | ||
prs: 10616 | ||
--- | ||
|
||
OpenBSD's `--strip-unneeded` thinks some symbols are unneeded that are in fact | ||
needed when C bits are involved, so suppress its use. | ||
|
||
Taken from the OpenBSD ports repo (https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/ghc/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_Program_Strip_hs); | ||
brought to our attention by maerwald. |