| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.158 2011/11/14 20:29:03 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.159 2011/12/07 06:42:40 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: flag-o-matic.eclass |
5 | # @ECLASS: flag-o-matic.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # toolchain@gentoo.org |
7 | # toolchain@gentoo.org |
| 8 | # @BLURB: common functions to manipulate and query toolchain flags |
8 | # @BLURB: common functions to manipulate and query toolchain flags |
| … | |
… | |
| 49 | -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -mplt \ |
49 | -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -mplt \ |
| 50 | -msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu \ |
50 | -msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu \ |
| 51 | -mieee -mieee-with-inexact -mschedule -mfloat-gprs -mspe -mno-spe \ |
51 | -mieee -mieee-with-inexact -mschedule -mfloat-gprs -mspe -mno-spe \ |
| 52 | -mtls-direct-seg-refs -mno-tls-direct-seg-refs \ |
52 | -mtls-direct-seg-refs -mno-tls-direct-seg-refs \ |
| 53 | -mflat -mno-flat -mno-faster-structs -mfaster-structs \ |
53 | -mflat -mno-flat -mno-faster-structs -mfaster-structs \ |
| 54 | -m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \ |
54 | -m32 -m64 -mx32 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \ |
| 55 | -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias \ |
55 | -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias \ |
| 56 | -msecure-plt -m*-toc -D* -U*" |
56 | -msecure-plt -m*-toc -D* -U*" |
| 57 | |
57 | |
| 58 | # 4.5 |
58 | # 4.5 |
| 59 | ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fma4 -mno-movbe -mno-xop -mno-lwp" |
59 | ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fma4 -mno-movbe -mno-xop -mno-lwp" |