Commit 8d17824
authored
[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`.1 parent 4b2daec commit 8d17824
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2564 | 2564 | | |
2565 | 2565 | | |
2566 | 2566 | | |
2567 | | - | |
| 2567 | + | |
| 2568 | + | |
2568 | 2569 | | |
2569 | | - | |
| 2570 | + | |
| 2571 | + | |
2570 | 2572 | | |
2571 | 2573 | | |
2572 | 2574 | | |
| |||
0 commit comments