dev-lang/ocaml: Strip -ggdb3 from cflags as it causes issues.
authorAlexis Ballier <aballier@gentoo.org>
Sat, 1 Apr 2017 14:13:39 +0000 (16:13 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 2 Apr 2017 08:37:43 +0000 (10:37 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-lang/ocaml/ocaml-4.04.0.ebuild
dev-lang/ocaml/ocaml-4.05.0_beta3.ebuild

index b5a3f833b7f2bd60625399cac6fe09ec1f1ff631..9fde924947fb3950c0ec6c18a4be0d488bfb1238 100644 (file)
@@ -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"
 
index 5c4d7d76a7c8be2cf653cf03b1528052a8bdb339..b0682dc0ccf2f912de1eec96e442b4ae981c6b6a 100644 (file)
@@ -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"