summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-08-03 00:40:07 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-08-03 00:40:07 +0000
commit35ff1139258ce4f824decda15678dd481d083a1e (patch)
treedc50a1a00aa3e112c3d5ac4fdb3b37f9ef1aac6b /sys-devel
parentremove unused licenses (diff)
downloadgentoo-2-35ff1139258ce4f824decda15678dd481d083a1e.tar.gz
gentoo-2-35ff1139258ce4f824decda15678dd481d083a1e.tar.bz2
gentoo-2-35ff1139258ce4f824decda15678dd481d083a1e.zip
Make --use-old work again, thanks to Brian Childs <brian AT rentec DOT com>; bug #221109
(Portage version: 2.2_rc33-r1/cvs/Linux i686)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc-config/ChangeLog6
-rw-r--r--sys-devel/gcc-config/files/gcc-config-1.4.19
2 files changed, 10 insertions, 5 deletions
diff --git a/sys-devel/gcc-config/ChangeLog b/sys-devel/gcc-config/ChangeLog
index 751e81c6e30f..44c918ef7c3d 100644
--- a/sys-devel/gcc-config/ChangeLog
+++ b/sys-devel/gcc-config/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/gcc-config
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v 1.184 2009/05/20 17:43:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v 1.185 2009/08/03 00:40:07 halcy0n Exp $
+
+ 03 Aug 2009; Mark Loeser <halcy0n@gentoo.org> files/gcc-config-1.4.1:
+ Make --use-old work again, thanks to Brian Childs <brian AT rentec DOT
+ com>; bug #221109
20 May 2009; Raúl Porcel <armin76@gentoo.org> gcc-config-1.4.1.ebuild:
ia64 stable
diff --git a/sys-devel/gcc-config/files/gcc-config-1.4.1 b/sys-devel/gcc-config/files/gcc-config-1.4.1
index d487d85fe72d..ebaa184f3ab8 100644
--- a/sys-devel/gcc-config/files/gcc-config-1.4.1
+++ b/sys-devel/gcc-config/files/gcc-config-1.4.1
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.1,v 1.8 2009/01/28 02:32:50 vapier Exp $
+# $Header: /var/cvsroot/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