From b4640899a944245441860c09849c147c65518e1c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 1 Jan 2013 22:51:57 -0500 Subject: 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 Signed-off-by: Mike Frysinger --- gcc-config | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc-config') 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 -- cgit v1.2.3-65-gdbad