summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-11-25 03:11:57 +0000
committerRyan Hill <rhill@gentoo.org>2013-11-25 03:11:57 +0000
commit8efeb7138ef79323c7469725a5d995201453f23b (patch)
treef6331d3b3b0d26f94d158903609f6fc814e13f04 /eclass/toolchain.eclass
parentUpdates (and a patch) for texinfo borkage. (diff)
downloadhistorical-8efeb7138ef79323c7469725a5d995201453f23b.tar.gz
historical-8efeb7138ef79323c7469725a5d995201453f23b.tar.bz2
historical-8efeb7138ef79323c7469725a5d995201453f23b.zip
Prevent comparison failures due to -frecord-gcc-switches (bug #490738).
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3f7955bdcce5..9686db0c2643 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.605 2013/11/09 10:05:12 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.606 2013/11/25 03:11:57 dirtyepic Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1395,6 +1395,8 @@ gcc_do_filter_flags() {
# dont want to funk ourselves
filter-flags '-mabi*' -m31 -m32 -m64
+ filter-flags '-frecord-gcc-switches' # 490738
+
case ${GCC_BRANCH_VER} in
3.2|3.3)
replace-cpu-flags k8 athlon64 opteron x86-64