| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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.90 2005/07/11 19:28:20 agriffis Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.91 2005/07/22 21:47:51 vapier Exp $ |
| 4 | |
4 | |
| 5 | |
5 | |
| 6 | # need access to emktemp() |
6 | # need access to emktemp() |
| 7 | inherit eutils toolchain-funcs multilib |
7 | inherit eutils toolchain-funcs multilib |
| 8 | |
8 | |
| … | |
… | |
| 87 | ALLOWED_FLAGS="${ALLOWED_FLAGS} -mregparm -mno-app-regs -mapp-regs \ |
87 | ALLOWED_FLAGS="${ALLOWED_FLAGS} -mregparm -mno-app-regs -mapp-regs \ |
| 88 | -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow \ |
88 | -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow \ |
| 89 | -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 \ |
89 | -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 \ |
| 90 | -msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu \ |
90 | -msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu \ |
| 91 | -mieee -mieee-with-inexact \ |
91 | -mieee -mieee-with-inexact \ |
|
|
92 | -mtls-direct-seg-refs -mno-tls-direct-seg-refs \ |
| 92 | -mflat -mno-flat -mno-faster-structs -mfaster-structs \ |
93 | -mflat -mno-flat -mno-faster-structs -mfaster-structs \ |
| 93 | -m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \ |
94 | -m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \ |
| 94 | -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias" |
95 | -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias" |
| 95 | |
96 | |
| 96 | # C[XX]FLAGS that we are think is ok, but needs testing |
97 | # C[XX]FLAGS that we are think is ok, but needs testing |