diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2009-08-03 00:40:07 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2009-08-03 00:40:07 +0000 |
commit | 1f18feccd2c026e802ba964d3f97fba6849f8c37 (patch) | |
tree | 5d8e33f8ea2fc9b8fc03071ab741a2741a051e16 | |
parent | Update libgcj.pc symlinks #136382 #216241 and set GCC_SPECS with -E #251271 b... (diff) | |
download | gcc-config-1f18feccd2c026e802ba964d3f97fba6849f8c37.tar.gz gcc-config-1f18feccd2c026e802ba964d3f97fba6849f8c37.tar.bz2 gcc-config-1f18feccd2c026e802ba964d3f97fba6849f8c37.zip |
Make --use-old work again, thanks to Brian Childs <brian AT rentec DOT com>; bug #221109v1.4.1
-rwxr-xr-x | gcc-config | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.1,v 1.8 2009/01/28 02:32:50 vapier Exp $ +# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.1,v 1.9 2009/08/03 00:40:07 halcy0n Exp $ trap ":" INT QUIT TSTP @@ -19,7 +19,7 @@ umask 022 SED=$(type -P gsed) SED=${SED:-$(type -P sed)} -GENTOO_LIBDIR="@GENTOO_LIBDIR@" +GENTOO_LIBDIR="lib" [[ ${GENTOO_LIBDIR} == @*@ ]] && GENTOO_LIBDIR="lib" usage() { @@ -621,6 +621,7 @@ for x in "$@" ; do case "${x}" in # Only use specified compiler if one is not already selected. -O|--use-old) + CTARGET=${CTARGET:-$(try_real_hard_to_find_CHOST)} if get_current_profile &>/dev/null ; then CC_COMP=$(get_current_profile) else @@ -693,9 +694,9 @@ for x in "$@" ; do rcsfile="$RCSfile: gcc-config-1.4.1,v $" rcsfile=${rcsfile#: } rcsfile=${rcsfile%,v*} - cvsrev="$Revision: 1.8 $" + cvsrev="$Revision: 1.9 $" cvsrev=${cvsrev#: } - cvsdate="$Date: 2009/01/28 02:32:50 $" + cvsdate="$Date: 2009/08/03 00:40:07 $" cvsdate=${cvsdate#: } echo "${rcsfile} (r${cvsrev% *} @ ${cvsdate% *})" exit 0 |