public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tomas Vondra <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: configure sets GCC=yes for clang
Date: Fri, 4 Feb 2022 20:16:53 +0100
Message-ID: <[email protected]> (raw)
Hi,
I've been doing some experiments with compilers, and I've noticed that
when using clang configure still ends up setting
GCC='yes'
which seems somewhat strange. FWIW I've noticed because when building
with "-Ofast" (yeah, I'm just playing with stuff) it fails like this:
checking whether the C compiler still works... yes
configure: error: do not put -ffast-math in CFLAGS
which is in $GCC=yes check, and clang doesn't even have such option.
Not a huge issue, but I wonder if this might confuse configure in other
places, or something.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: configure sets GCC=yes for clang
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox