summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2014-05-20 10:41:23 +0000
committerRyan Hill <rhill@gentoo.org>2014-05-20 10:41:23 +0000
commitaedee0bfa5438a80b87f47c6b034c2a6b7670b27 (patch)
tree054a711b01524fc4c35505724096ec1c51f3f9f1 /eclass/toolchain.eclass
parentMask USE=systemtap generally until proper kernel support is in place. (diff)
downloadgentoo-2-aedee0bfa5438a80b87f47c6b034c2a6b7670b27.tar.gz
gentoo-2-aedee0bfa5438a80b87f47c6b034c2a6b7670b27.tar.bz2
gentoo-2-aedee0bfa5438a80b87f47c6b034c2a6b7670b27.zip
Strip -mno-rtm and -mno-htm as libitm requires these for x86/x86_64 and
ppc/s390 respectively if supported by the assembler (bug #506202).
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index cd3f1e850732..98fa117bcd54 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.627 2014/05/20 07:39:28 rhill Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.628 2014/05/20 10:41:23 rhill Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1340,7 +1340,8 @@ gcc_do_filter_flags() {
# dont want to funk ourselves
filter-flags '-mabi*' -m31 -m32 -m64
- filter-flags '-frecord-gcc-switches' # 490738
+ filter-flags -frecord-gcc-switches # 490738
+ filter-flags -mno-rtm -mno-htm # 506202
if tc_version_is_between 3.2 3.4 ; then
# XXX: this is so outdated it's barely useful, but it don't hurt...