summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild')
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild
index f0193b13f39a..5e398b6e9bfe 100644
--- a/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.14.90.0.8-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.14.90.0.8-r1.ebuild,v 1.7 2004/04/21 17:44:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild,v 1.8 2004/04/24 14:00:06 lv Exp $
IUSE="nls bootstrap build"
@@ -68,6 +68,11 @@ src_compile() {
CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
fi
+ # 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