Add EXTRA_CFLAGS to configure

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Add EXTRA_CFLAGS to configure
Дата
Msg-id 20151028105545.GD2632@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: Add EXTRA_CFLAGS to configure  (Robert Haas <robertmhaas@gmail.com>)
Re: Add EXTRA_CFLAGS to configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Add EXTRA_CFLAGS to configure  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Hi,

I rather regularly want to pass extra flags to configure without
overwriting CFLAGS. There's two basic reasons:

1) ./configure CFLAGS=... essentially breaks --enable-debug and related  options, overwrites -O2 as the default and
such.That's imo pretty  confusing.
 
2) I like to be able to pass -Werror or something to configure without  breaking a bunch of configure tests that won't
workwith Werror.
 

A good way to do that seems to be to add a separate variable for that
purpose? Unless someobdy has a better idea?

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: psql: add \pset true/false
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ATT_FOREIGN_TABLE and ATWrongRelkindError()