summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-16 23:51:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-16 23:51:35 +0000
commit3acd03ef1f6bb2ee9ae4a7f0f0c26a5cfa9a9747 (patch)
tree4b3539e48e9c1543cfbb20bcd8c734729373c528 /sys-devel/gcc-config
parent#include <wait.h> -> #include <sys/wait.h> #79911 (diff)
downloadgentoo-2-3acd03ef1f6bb2ee9ae4a7f0f0c26a5cfa9a9747.tar.gz
gentoo-2-3acd03ef1f6bb2ee9ae4a7f0f0c26a5cfa9a9747.tar.bz2
gentoo-2-3acd03ef1f6bb2ee9ae4a7f0f0c26a5cfa9a9747.zip
dont kill /lib/cpp if host is solaris #79964
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/gcc-config')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.104
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.84
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.4.04
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.10 b/sys-devel/gcc-config/files/gcc-config-1.3.10
index a2e74f9493c0..f851e6563f32 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.3.10
+++ b/sys-devel/gcc-config/files/gcc-config-1.3.10
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 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.10,v 1.4 2005/03/16 23:32:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.10,v 1.5 2005/03/16 23:51:35 vapier Exp $
trap ":" INT QUIT TSTP
@@ -220,7 +220,7 @@ switch_profile() {
fi
done
# Only install cpp if switching to a native one
- if ! is_cross_compiler ; then
+ if ! is_cross_compiler && [[ ${CTARGET} != *-solaris* ]] ; then
${RM} -f "${ROOT}/lib/cpp"
${CP} -f "${ROOT}/usr/lib/misc/gcc-config" "${ROOT}/lib/cpp"
fi
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 71575f75b489..37f2a278fad7 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-2005 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.7 2005/03/16 23:32:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.8,v 1.8 2005/03/16 23:51:35 vapier Exp $
trap ":" INT QUIT TSTP
@@ -221,7 +221,7 @@ switch_profile() {
fi
done
# Only install cpp if switching to a native one
- if ! is_cross_compiler ; then
+ if ! is_cross_compiler && [[ ${CTARGET} != *-solaris* ]] ; then
${RM} -f "${ROOT}/lib/cpp"
${CP} -f "${ROOT}/usr/lib/gcc-config/wrapper" "${ROOT}/lib/cpp"
fi
diff --git a/sys-devel/gcc-config/files/gcc-config-1.4.0 b/sys-devel/gcc-config/files/gcc-config-1.4.0
index f19fffc54256..3a3ac55e9ced 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.4.0
+++ b/sys-devel/gcc-config/files/gcc-config-1.4.0
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 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.0,v 1.6 2005/03/16 23:32:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.0,v 1.7 2005/03/16 23:51:35 vapier Exp $
trap ":" INT QUIT TSTP
@@ -272,7 +272,7 @@ switch_profile() {
done
# Only install cpp if switching to a native one
- if ! is_cross_compiler ; then
+ if ! is_cross_compiler && [[ ${CTARGET} != *-solaris* ]] ; then
${RM} -f "${ROOT}/lib/cpp"
${CP} -f "${WRAPPER}" "${ROOT}/lib/cpp"
fi