summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-06-10 00:41:44 +0000
committerTravis Tilley <lv@gentoo.org>2004-06-10 00:41:44 +0000
commit3aa10bf436e74c81adaf03253a02259583579c67 (patch)
treee415014c80009f6a7ebf7c7020ac53423d1bb68f /eclass
parentremove crufty version (diff)
downloadhistorical-3aa10bf436e74c81adaf03253a02259583579c67.tar.gz
historical-3aa10bf436e74c81adaf03253a02259583579c67.tar.bz2
historical-3aa10bf436e74c81adaf03253a02259583579c67.zip
i almost forgot to use ${CC/ .*/} instead of calling gcc directly... that would have made the embedded/cross devs unhappy with me ^^;
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 741a52932dfa..aa2e89038881 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.56 2004/06/10 00:24:57 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.57 2004/06/10 00:41:44 lv Exp $
#
# Author Bart Verwilst <verwilst@gentoo.org>
@@ -304,7 +304,7 @@ has_ssp() {
has_m64() {
temp=`mktemp`
echo "int main() { return(0); }" > ${temp}.c
- gcc -m64 -o /dev/null ${temp}.c > /dev/null 2>&1
+ ${CC/ .*/} -m64 -o /dev/null ${temp}.c > /dev/null 2>&1
ret=$?
rm -f ${temp}.c
[ "$ret" != "1" ] && return 0
@@ -314,7 +314,7 @@ has_m64() {
has_m32() {
temp=`mktemp`
echo "int main() { return(0); }" > ${temp}.c
- gcc -m32 -o /dev/null ${temp}.c > /dev/null 2>&1
+ ${CC/ .*/} -m32 -o /dev/null ${temp}.c > /dev/null 2>&1
ret=$?
rm -f ${temp}.c
[ "$ret" != "1" ] && return 0