Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang][Driver] Fix Linux/sparc64 -m32 (#98124)
`clang` currently fails to find a GCC installation on Linux/sparc64 with `-m32`. `strace` reveals that `clang` tries to access `/usr/lib/gcc/sparcv9-linux-gnu` (which doesn't exist) instead of `/usr/lib/gcc/sparc64-linux-gnu`. It turns out that 20d497c was overeager in removing some of the necessary directories. Fixed by reverting the Linux/sparc* part of the patch. Tested on `sparc64-unknown-linux-gnu`.
- Loading branch information