diff --git a/dev-lang/ocaml/ocaml-4.04.0.ebuild b/dev-lang/ocaml/ocaml-4.04.0.ebuild index b5a3f833b7f2b..9fde924947fb3 100644 --- a/dev-lang/ocaml/ocaml-4.04.0.ebuild +++ b/dev-lang/ocaml/ocaml-4.04.0.ebuild @@ -55,6 +55,9 @@ src_configure() { # Bug #285993 filter-mfpmath sse + # -ggdb3 & co makes it behave weirdly, breaks sexplib + replace-flags -ggdb* -ggdb + # It doesn't compile on alpha without this LDFLAGS use alpha && append-ldflags "-Wl,--no-relax" diff --git a/dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild b/dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild index 5c4d7d76a7c8b..b0682dc0ccf2f 100644 --- a/dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild +++ b/dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild @@ -56,6 +56,9 @@ src_configure() { # Bug #285993 filter-mfpmath sse + # -ggdb3 & co makes it behave weirdly, breaks sexplib + replace-flags -ggdb* -ggdb + # It doesn't compile on alpha without this LDFLAGS use alpha && append-ldflags "-Wl,--no-relax"