diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-22 11:00:07 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-22 11:00:07 +0100 |
commit | d52506c8d5e78e26ae607d8805a5436cb9c89c05 (patch) | |
tree | e8ffe2e2d6770d02053bfc456f080d4c88fd4967 | |
parent | gcc-config: add build-time and runtime switches to disable native symlinks (diff) | |
download | gcc-config-d52506c8d5e78e26ae607d8805a5436cb9c89c05.tar.gz gcc-config-d52506c8d5e78e26ae607d8805a5436cb9c89c05.tar.bz2 gcc-config-d52506c8d5e78e26ae607d8805a5436cb9c89c05.zip |
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 <slyfox@gentoo.org>
-rwxr-xr-x | gcc-config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |