This prevents warnings with use_thinlto like
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM15.0.0git' Reader: 'LLVM 13.0.1')
Differential D125399
[gn build] Use llvm-ar when clang_base_path is specified aeubanks on May 11 2022, 9:20 AM. Authored by
Details This prevents warnings with use_thinlto like bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM15.0.0git' Reader: 'LLVM 13.0.1')
Diff Detail
Event TimelineComment Actions I'm guessing we have the same problem on mac, but fine to fix that once someone tries to build with LTO there. Can you say "linux" or "non-mac non-win" or similar in the commit message? Else, lg. (Maybe we only want this if && use_thinlto? But as-is is fine too.) |