Author acmorrow
Recipients acmorrow
Date 2021-02-02.22:52:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612306369.28.0.04507829507.issue43109@roundup.psfhosted.org>
In-reply-to
Content
When building with `--with-lto`, an explicit check for `llvm-ar` is performed as part of the configure step. However, Apple does not ship `llvm-ar` as part of Xcode, so when building with Apple Clang this check fails and prevents using `--with-lto`.

However, using the builtin `ar` seems to work just fine, and it can be selected by passing `LLVM_AR=/path/to/ar` to `configure`. It would be nice to see the `configure` script updated to know that system `ar` is sufficient when using Apple Clang on macOS.

Please see https://github.com/Homebrew/homebrew-core/pull/70177 for additional background.
History
Date User Action Args
2021-02-02 22:52:49acmorrowsetrecipients: + acmorrow
2021-02-02 22:52:49acmorrowsetmessageid: <1612306369.28.0.04507829507.issue43109@roundup.psfhosted.org>
2021-02-02 22:52:49acmorrowlinkissue43109 messages
2021-02-02 22:52:49acmorrowcreate