configure sets GCC=yes for clang

Поиск
Список
Период
Сортировка
Искать
От
Tomas Vondra
Тема
configure sets GCC=yes for clang
Дата
Msg-id
3798e16f-627c-93c0-5b0d-233a29cc64a3@enterprisedb.com
Список
Дерево обсуждения
configure sets GCC=yes for clang Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: configure sets GCC=yes for clang Tom Lane <tgl@sss.pgh.pa.us>
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


В списке pgsql-hackers по дате отправления
От: Peter Geoghegan
Дата:
От: Peter Geoghegan
Дата:
FAQ