From 28c1dfc7958f1a345b4e2ebbb1fd0fdc2c4a0812 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 1 Apr 2017 16:13:39 +0200 Subject: [PATCH] dev-lang/ocaml: Strip -ggdb3 from cflags as it causes issues. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- dev-lang/ocaml/ocaml-4.04.0.ebuild | 3 +++ dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dev-lang/ocaml/ocaml-4.04.0.ebuild b/dev-lang/ocaml/ocaml-4.04.0.ebuild index b5a3f833b7f2..9fde924947fb 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 5c4d7d76a7c8..b0682dc0ccf2 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" -- 2.26.2