summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-01 16:13:39 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-02 10:37:43 +0200
commit28c1dfc7958f1a345b4e2ebbb1fd0fdc2c4a0812 (patch)
tree6caa7ecdbda85f7f9fdf99f6a651562679b07a25 /dev-lang
parentdev-ml/sexplib: Bump to 0.9.1. It will appear as downgrade but this is the ne... (diff)
downloadgentoo-28c1dfc7958f1a345b4e2ebbb1fd0fdc2c4a0812.tar.gz
gentoo-28c1dfc7958f1a345b4e2ebbb1fd0fdc2c4a0812.tar.bz2
gentoo-28c1dfc7958f1a345b4e2ebbb1fd0fdc2c4a0812.zip
dev-lang/ocaml: Strip -ggdb3 from cflags as it causes issues.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ocaml/ocaml-4.04.0.ebuild3
-rw-r--r--dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild3
2 files changed, 6 insertions, 0 deletions
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"