summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-05-26 23:01:43 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-05-26 23:01:43 +0000
commit5adf1990ff453b36ad75c3172cb25d884499960b (patch)
tree19ff5682fb7daf5bd3d1ac3ba6e85f4e06b8d67b /eclass/ccc.eclass
parentcleanup (diff)
downloadgentoo-2-5adf1990ff453b36ad75c3172cb25d884499960b.tar.gz
gentoo-2-5adf1990ff453b36ad75c3172cb25d884499960b.tar.bz2
gentoo-2-5adf1990ff453b36ad75c3172cb25d884499960b.zip
*** empty log message ***
Diffstat (limited to 'eclass/ccc.eclass')
-rw-r--r--eclass/ccc.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/ccc.eclass b/eclass/ccc.eclass
index 489c399684c4..5659453f3abe 100644
--- a/eclass/ccc.eclass
+++ b/eclass/ccc.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ccc.eclass,v 1.6 2003/05/26 21:17:02 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ccc.eclass,v 1.7 2003/05/26 23:01:43 taviso Exp $
#
# Authors: Tavis Ormandy <taviso@gentoo.org>
# Aron Griffis <agriffis@gentoo.org>
@@ -150,13 +150,13 @@ replace-cxx-hardcode()
is-ccc()
{
# return true if ccc is being used.
- [ "${ARCH}:`basename ${CC}`" == "alpha:ccc" ]
+ [ "${ARCH}:`basename ${CC:-gcc}`" == "alpha:ccc" ]
}
is-cxx()
{
# return true if cxx is being used
- [ "${ARCH}:`basename ${CXX}`" == "alpha:cxx" ]
+ [ "${ARCH}:`basename ${CXX:-g++}`" == "alpha:cxx" ]
}
replace-ccc-g()