------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 b912b6ff088d9ea18327c905dc2282b2 gcc-config-1.3.7-r5.ebuild 1427
MD5 eada6d619ecaf729aa80d194fcebb102 ChangeLog 13350
MD5 0a250a07d02f1343f64fe7f7bbdbd820 gcc-config-1.3.6-r4.ebuild 2636
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.6-r4 0
MD5 2902e905147ff6ba0703f0f72660aa9a files/wrapper-1.4.3.c 8434
MD5 5f5ba2d67203ed8386ae76352f15000d files/gcc-config-1.3.6 10285
-MD5 44a8e5590677f8daa64ade7a42dd6f61 files/gcc-config-1.3.7 11809
+MD5 17dcdbe7900659afdd8f66505c02e1dd files/gcc-config-1.3.7 11861
MD5 e64a89abafa7f6f7d16c2540fb0edcf4 files/wrapper-1.4.2.c 7381
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.7-r5 0
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBssKDroRuSHgZdywRAoLBAJ41xQc06E5jOZsHmDBS8K3m0KrOvwCfRfSc
-qHgWP6I5YMKW6Icwvqfpto8=
-=ClKE
------END PGP SIGNATURE-----
#!/bin/bash
# Copyright 1999-2004 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.3.7,v 1.8 2004/12/05 08:10:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.7,v 1.9 2004/12/05 21:07:43 vapier Exp $
# Author: Martin Schlemmer <azarah@gentoo.org>
trap ":" INT QUIT TSTP
unset GCC_SPECS
source "${GCC_ENV_D}/${CC_COMP}"
OLD_CC_COMP=$(get_current_profile)
+ CTARGET="${CTARGET:-${REAL_CHOST}}"
# What kind of env.d entry are we going to generate ?
if is_cross_compiler
fi
done
# Only install cpp if the toolchain supports C++
- if ! is_cross_compiler && [ -x "${ROOT}/usr/bin/${REAL_CHOST}-g++" ]
+ if ! is_cross_compiler
then
${RM} -f "${ROOT}/lib/cpp"
- ${CP} -f "${ROOT}/usr/lib/gcc-config/wrapper" "${ROOT}/lib/cpp"
+ if [ -x "${ROOT}/usr/bin/${REAL_CHOST}-g++" ]
+ then
+ ${CP} -f "${ROOT}/usr/lib/gcc-config/wrapper" "${ROOT}/lib/cpp"
+ fi
fi
if [ "${ROOT}" = "/" ] && [ "${OLD_CC_COMP}" != "${CC_COMP}" ]