From d52506c8d5e78e26ae607d8805a5436cb9c89c05 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 22 May 2020 11:00:07 +0100 Subject: gcc-config: link /lib/cpp to qualified 'cpp' Change link /lib/cpp from /usr/bin/cpp to /usr/bin/${CTARGET}-cpp. When USE_NATIVE_LINKS=no starts skipping unqualified links we might want to delete /lib/cpp, or keep it. Depends on how many tools depend on it's presence. Bug: https://bugs.gentoo.org/724454 Signed-off-by: Sergei Trofimovich --- gcc-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc-config b/gcc-config index 9dc09e0..95d2632 100755 --- a/gcc-config +++ b/gcc-config @@ -307,7 +307,7 @@ update_wrappers() { # install the canonical cpp wrapper if ! is_cross_compiler ; then - atomic_ln "${EPREFIX%/}/usr/bin/cpp" "${EROOT}lib" "cpp" + atomic_ln "${EPREFIX%/}/usr/bin/${CTARGET}-cpp" "${EROOT}lib" "cpp" fi } -- cgit v1.2.3-65-gdbad