| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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.143 2009/08/15 18:04:08 zmedico Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.144 2009/08/16 00:16:12 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 |
| … | |
… | |
| 323 | local NEW_CXXFLAGS="" |
323 | local NEW_CXXFLAGS="" |
| 324 | local NEW_FFLAGS="" |
324 | local NEW_FFLAGS="" |
| 325 | local NEW_FCFLAGS="" |
325 | local NEW_FCFLAGS="" |
| 326 | |
326 | |
| 327 | # Allow unstable C[XX]FLAGS if we are using unstable profile ... |
327 | # Allow unstable C[XX]FLAGS if we are using unstable profile ... |
| 328 | if has \~$(tc-arch) ${ACCEPT_KEYWORDS} ; then |
328 | if has "~$(tc-arch)" ${ACCEPT_KEYWORDS} ; then |
| 329 | ALLOWED_FLAGS="${ALLOWED_FLAGS} ${UNSTABLE_FLAGS}" |
329 | ALLOWED_FLAGS="${ALLOWED_FLAGS} ${UNSTABLE_FLAGS}" |
| 330 | fi |
330 | fi |
| 331 | |
331 | |
| 332 | set -f # disable pathname expansion |
332 | set -f # disable pathname expansion |
| 333 | |
333 | |