summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc-config/files/gcc-config-1.3.8')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.87
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.8 b/sys-devel/gcc-config/files/gcc-config-1.3.8
index ee8c1176252f..382fc6717f5c 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.3.8
+++ b/sys-devel/gcc-config/files/gcc-config-1.3.8
@@ -1,7 +1,7 @@
#!/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.8,v 1.2 2004/12/24 05:46:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.8,v 1.3 2004/12/28 05:32:10 eradicator Exp $
# Author: Martin Schlemmer <azarah@gentoo.org>
trap ":" INT QUIT TSTP
@@ -212,9 +212,8 @@ switch_profile() {
# This should probably get folded back into the wrapper ...
if [[ ${x:${#x}-3} = "gcc" ]] || [[ ${x:${#x}-3} = "g++" ]] ; then
for bits in ${GCCBITS} ; do
- echo "#!/bin/sh"$'\n'"exec ${x} -m${bits} \"\$@\"" \
- > "${ROOT}/usr/bin/${x}${bits}"
- chmod 755 "${ROOT}/usr/bin/${x}${bits}"
+ cp -f "${ROOT}/usr/lib/gcc-config/wrapper" \
+ "${ROOT}/usr/bin/${x}${bits}"
done
fi
fi