diff options
author | Zack Welch <zwelch@gentoo.org> | 2003-02-26 17:48:58 +0000 |
---|---|---|
committer | Zack Welch <zwelch@gentoo.org> | 2003-02-26 17:48:58 +0000 |
commit | 733fb6396ea1f73859a7aa796b3e5a4cc61bef0d (patch) | |
tree | 1573564cc848ebc7a7a58d55ae54e719064d5c67 /sys-devel | |
parent | Closes #1872. (diff) | |
download | historical-733fb6396ea1f73859a7aa796b3e5a4cc61bef0d.tar.gz historical-733fb6396ea1f73859a7aa796b3e5a4cc61bef0d.tar.bz2 historical-733fb6396ea1f73859a7aa796b3e5a4cc61bef0d.zip |
add ARM only fix for binutils
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.13.90.0.18.ebuild | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/sys-devel/binutils/ChangeLog b/sys-devel/binutils/ChangeLog index fc71bf0d0454..6af6570627dc 100644 --- a/sys-devel/binutils/ChangeLog +++ b/sys-devel/binutils/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for sys-devel/binutils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.34 2003/02/24 03:12:12 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.35 2003/02/26 17:48:58 zwelch Exp $ 18 Feb 2003; Zach Welch <zwelch@gentoo.org> : Added arm to keywords. @@ -10,6 +10,9 @@ *binutils-2.13.90.0.18 (26 Jan 2003) + 26 Feb 2003; Zach Welch <zwelch@gentoo.org> binutils-2.13.90.0.18.ebuild : + filter -O2 from ARM builds to prevent gcc ICE + 24 Feb 2003; Martin Schlemmer <azarah@gentoo.org> binutils-2.13.90.0.18.ebuild : Mark stable for x86. Rip out static stuff as it anyhow do not work. diff --git a/sys-devel/binutils/binutils-2.13.90.0.18.ebuild b/sys-devel/binutils/binutils-2.13.90.0.18.ebuild index 202d426592aa..93c092fbe0d5 100644 --- a/sys-devel/binutils/binutils-2.13.90.0.18.ebuild +++ b/sys-devel/binutils/binutils-2.13.90.0.18.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.13.90.0.18.ebuild,v 1.9 2003/02/24 02:10:49 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.13.90.0.18.ebuild,v 1.10 2003/02/26 17:48:58 zwelch Exp $ IUSE="nls bootstrap build" @@ -32,6 +32,12 @@ DEPEND="virtual/glibc # This is a hairy one. Basically depend on sys-devel/perl # if "build" or "bootstrap" not in USE. + +# filter CFLAGS=".. -O2 .." on arm +if [ "${ARCH}" = "arm" ]; then + CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')" +fi + src_unpack() { unpack ${A} |