[issue44096] Bad clang detection in configure script
Rishav Kundu
report at bugs.python.org
Mon May 10 01:58:28 EDT 2021
New submission from Rishav Kundu <rishav.kundu98 at gmail.com>:
Because autoconf detects `cc` before `clang` [1], this means that most of the checks in configure.ac that compare $CC to `clang` don’t work. This in turn means that things like LTO and PGO don’t work — the appropriate compiler options do not get set.
I can write a patch if someone can reproduce this.
[1]: https://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/C-Compiler.html
----------
components: Build
messages: 393354
nosy: xrisk
priority: normal
severity: normal
status: open
title: Bad clang detection in configure script
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44096>
_______________________________________
More information about the Python-bugs-list
mailing list