From: | Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | configure sets GCC=yes for clang |
Date: | 2022-02-04 19:16:53 |
Message-ID: | 3798e16f-627c-93c0-5b0d-233a29cc64a3@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-02-04 19:41:19 | Re: Removing more vacuumlazy.c special cases, relfrozenxid optimizations |
Previous Message | Peter Geoghegan | 2022-02-04 19:16:13 | Re: should vacuum's first heap pass be read-only? |