summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-04-02 10:10:59 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-04-02 10:10:59 +0000
commit4a39535584f65f0a5603323e51ace43802304878 (patch)
tree8ed5a89f8b650b826dda2a065450f109eb20dcf7 /eclass
parentFix xpdf-3.01-r7 DEPs thanks to Stefan Tittel <bugreports@tittel.net> in bug ... (diff)
downloadgentoo-2-4a39535584f65f0a5603323e51ace43802304878.tar.gz
gentoo-2-4a39535584f65f0a5603323e51ace43802304878.tar.bz2
gentoo-2-4a39535584f65f0a5603323e51ace43802304878.zip
Add function to get CPP.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index e143b2068838..0d31125a42fa 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.57 2006/03/28 21:25:14 kevquinn Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.58 2006/04/02 10:10:59 robbat2 Exp $
#
# Author: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -35,6 +35,8 @@ tc-getAR() { tc-getPROG AR ar "$@"; }
tc-getAS() { tc-getPROG AS as "$@"; }
# Returns the name of the C compiler
tc-getCC() { tc-getPROG CC gcc "$@"; }
+# Returns the name of the C preprocessor
+tc-getCPP() { tc-getPROG CPP cpp "$@"; }
# Returns the name of the C++ compiler
tc-getCXX() { tc-getPROG CXX g++ "$@"; }
# Returns the name of the linker