diff options
author | rorth <ro@gcc.gnu.org> | 2023-09-06 19:44:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 19:44:39 +0200 |
commit | b084d10c2898e4a9da7348cd4774f4fe409fe83c (patch) | |
tree | 9498e022ce6b0f446d8331873987f4a93e9cbbe0 /clang/lib/Basic/SourceManager.cpp | |
parent | d1487670ee1caaf1762c341f9f96cfb07540b5c1 (diff) | |
download | llvm-b084d10c2898e4a9da7348cd4774f4fe409fe83c.zip llvm-b084d10c2898e4a9da7348cd4774f4fe409fe83c.tar.gz llvm-b084d10c2898e4a9da7348cd4774f4fe409fe83c.tar.bz2 |
[Driver] Wrap -lgcc_s in -z ignore/-z record on Solaris (#65487)
`clang` currently links `libgcc_s` unconditionally on Solaris, which is
unnecessary.
This patch wraps it in `-z ignore`/`-z record` instead.
Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions