Re: Rethinking -L switch handling and construction of LDFLAGS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rethinking -L switch handling and construction of LDFLAGS
Дата
Msg-id 11431.1522611733@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Rethinking -L switch handling and construction of LDFLAGS  (Andres Freund <andres@anarazel.de>)
Ответы Re: Rethinking -L switch handling and construction of LDFLAGS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2018-04-01 13:55:05 -0400, Tom Lane wrote:
>> I'm hesitant to do that because LDFLAGS is a name known to make's
>> default rules, and I don't want to bet that we're not relying on
>> those default rules anywhere.

> FWIW, postgres builds cleanly with -r -R in MAKELAGS.

That's pretty hard to believe.  Why would we bother to override every
default rule?  Even if it's true today, I would not accept it as project
policy that we must do so.  Perhaps more to the point, I would strongly
object to any design in which the standard Make variables don't mean
what the default rules expect them to mean.  That's just a recipe for
confusing people and creating hard-to-spot bugs.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Rethinking -L switch handling and construction of LDFLAGS
Следующее
От: Dmitry Ivanov
Дата:
Сообщение: Re: new function for tsquery creartion