diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-01-01 22:51:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-01-01 22:51:57 -0500 |
commit | b4640899a944245441860c09849c147c65518e1c (patch) | |
tree | 22ed3f9d16c4d024372ffe3d11da181b806129bb | |
parent | gcc-config: use ${SED} everywhere (diff) | |
download | gcc-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-x | gcc-config | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |