/[gentoo-x86]/eclass/flag-o-matic.eclass
Gentoo

Diff of /eclass/flag-o-matic.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.99 Revision 1.100
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.99 2005/12/09 20:43:41 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.100 2005/12/09 22:25:24 azarah Exp $
4 4
5 5
6# need access to emktemp() 6# need access to emktemp()
7inherit eutils toolchain-funcs multilib 7inherit eutils toolchain-funcs multilib
8 8
338 338
339# Returns (echo's) the given flags supported by the C++ compiler 339# Returns (echo's) the given flags supported by the C++ compiler
340test-flags-CXX() { test-flags-PROG "CXX" "$@"; } 340test-flags-CXX() { test-flags-PROG "CXX" "$@"; }
341 341
342# Short-hand that should hopefully work for both C and C++ compiler, but 342# Short-hand that should hopefully work for both C and C++ compiler, but
343# its really only present due to the append-flags() abortion. 343# its really only present due to the append-flags() abomination.
344test-flags() { test-flags-CC "$@"; } 344test-flags() { test-flags-CC "$@"; }
345 345
346# Depriciated, use test-flags() 346# Depriciated, use test-flags()
347test_flag() { 347test_flag() {
348 addwrite "/dev/stderr" 348 addwrite "/dev/stderr"

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100

  ViewVC Help
Powered by ViewVC 1.1.20