diff options
author | 2004-07-11 19:49:36 +0000 | |
---|---|---|
committer | 2004-07-11 19:49:36 +0000 | |
commit | 86c4506dc27414676af40487aaffe0a423e3a229 (patch) | |
tree | 4bfe36c52245b9559c94507ee0b9a1b5cbc9a67b /sys-libs | |
parent | oops, 2.6.2 commit, I missed this one (Manifest recommit) (diff) | |
download | gentoo-2-86c4506dc27414676af40487aaffe0a423e3a229.tar.gz gentoo-2-86c4506dc27414676af40487aaffe0a423e3a229.tar.bz2 gentoo-2-86c4506dc27414676af40487aaffe0a423e3a229.zip |
gcc 3.3 doesnt support -mtune on numerous archs, so xgcc will fail if we have it in CFLAGS. the ebuild now filters this flag.
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sys-libs/libstdc++-v3/ChangeLog b/sys-libs/libstdc++-v3/ChangeLog index 9d4fd384251b..e0ab8df95363 100644 --- a/sys-libs/libstdc++-v3/ChangeLog +++ b/sys-libs/libstdc++-v3/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/libstdc++-v3 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.8 2004/07/02 08:48:15 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.9 2004/07/11 19:49:36 lv Exp $ + + 11 Jul 2004; Travis Tilley <lv@gentoo.org> libstdc++-v3-3.3.3-r1.ebuild: + gcc 3.3 doesnt support -mtune on numerous archs, so xgcc will fail if we have + it in CFLAGS. the ebuild now filters this flag. 02 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> libstdc++-v3-3.3.3-r1.ebuild: diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild index 88eea8232df8..28d80c1fa71a 100644 --- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild +++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.7 2004/07/02 08:48:15 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.8 2004/07/11 19:49:36 lv Exp $ IUSE="nls" @@ -38,9 +38,17 @@ do_filter_flags() { if use amd64 then + # gcc 3.3 doesnt support -march=k8/etc on amd64, so xgcc will fail setting="`get-flag march`" [ ! -z "${setting}" ] && filter-flags -march="${setting}" fi + + # gcc 3.3 doesnt support -mtune on numerous archs, so xgcc will fail + mtsetting="`get-flag mcpu`" + [ ! -z "${mtsetting}" ] && filter-flags -mtune="${setting}" + + # ...sure, why not? + strip-unsupported-flags } S=${WORKDIR}/gcc-${PV} |