summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-01 22:51:57 -0500
committerMike Frysinger <vapier@gentoo.org>2013-01-01 22:51:57 -0500
commitb4640899a944245441860c09849c147c65518e1c (patch)
tree22ed3f9d16c4d024372ffe3d11da181b806129bb
parentgcc-config: use ${SED} everywhere (diff)
downloadgcc-config-b4640899a944245441860c09849c147c65518e1c.tar.gz
gcc-config-b4640899a944245441860c09849c147c65518e1c.tar.bz2
gcc-config-b4640899a944245441860c09849c147c65518e1c.zip
gcc-config: drop Solaris special casing with /lib/cpp
When we added this logic, Gentoo/prefix wasn't a standard setup. Now that we do have Gentoo/prefix, there's no reason to special case Solaris as this path won't be an issue (as prefix systems don't write to /lib/). If someone really cares about using portage in a non-prefix setup, we can talk about how best to support things then. But this issue isn't Solaris specific, so we shouldn't have that tuple hardcoded. URL: http://bugs.gentoo.org/79964 Reported-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xgcc-config1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index a9128d5..b11a98f 100755
--- a/gcc-config
+++ b/gcc-config
@@ -270,7 +270,6 @@ update_wrappers() {
rm -f "${ROOT}usr/bin/${CTARGET}-cc" "${ROOT}usr/bin"/{${CTARGET}-,}g{cc,++}{32,64}
# install the canonical cpp wrapper
- [[ ${CTARGET} == *-solaris* ]] && return 0
if ! is_cross_compiler ; then
atomic_cp "${wrapper}" "${ROOT}lib" "cpp" "${ROOT}usr/bin/cpp"
fi