New submission from Rishav Kundu <rishav.kund...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44096>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to