summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-19 18:14:43 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-19 18:14:56 +0000
commitaa3c28baa056846ebd14dfbb48058b91018188fd (patch)
treea7e5b4b575e3d787182ba892b039bce520ca1a9c /dev-scheme
parentgolang-base.eclass: raise go version to 1.7 for #607086 (diff)
downloadgentoo-aa3c28baa056846ebd14dfbb48058b91018188fd.tar.gz
gentoo-aa3c28baa056846ebd14dfbb48058b91018188fd.tar.bz2
gentoo-aa3c28baa056846ebd14dfbb48058b91018188fd.zip
dev-scheme/guile: fix CFLAGS=-gddb3 build failure, bug#608190
guile-snarf uses cpp to get rid of comments, #defines and type declarations in C code. But in -ggdb3 mode gcc leaves all of them in the output. The workaround is to downgrade -ggdb3 down to -ggdb2. Bug: https://bugs.gentoo.org/608190 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile/guile-2.0.14.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-scheme/guile/guile-2.0.14.ebuild b/dev-scheme/guile/guile-2.0.14.ebuild
index ab7f9c651b6..87f2621de4e 100644
--- a/dev-scheme/guile/guile-2.0.14.ebuild
+++ b/dev-scheme/guile/guile-2.0.14.ebuild
@@ -42,6 +42,9 @@ src_configure() {
# see bug #178499
filter-flags -ftree-vectorize
+ # see bug #608190
+ replace-flags -ggdb[3-9] -ggdb2
+
econf \
--disable-error-on-warning \
--disable-rpath \