summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild')
-rw-r--r--sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild b/sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild
index 09d063a3bcdf..4874814a0102 100644
--- a/sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild,v 1.2 2004/04/21 17:44:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.15.90.0.3-r1.ebuild,v 1.3 2004/04/24 14:00:06 lv Exp $
# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
# the manpages, but seems this is incorrect ....
@@ -70,6 +70,12 @@ src_compile() {
# untested functionality.
# use cross && myconf="${myconf} --targets-all"
+ # GCC 3.4 miscompiles binutils unless CFLAGS are conservative. See
+ # bug #47581 for more information.
+ # Travis Tilley <lv@gentoo.org>
+ has_version "=sys-devel/gcc-3.4*" && CFLAGS="-O2"
+
+
# Fix /usr/lib/libbfd.la
elibtoolize --portage