pgsql: Add PG_CFLAGS, PG_CXXFLAGS, and PG_LDFLAGS variables to PGXS

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Add PG_CFLAGS, PG_CXXFLAGS, and PG_LDFLAGS variables to PGXS
Дата
Msg-id E1gqDTZ-0000Wa-8M@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add PG_CFLAGS, PG_CXXFLAGS, and PG_LDFLAGS variables to PGXS

Add PG_CFLAGS, PG_CXXFLAGS, and PG_LDFLAGS variables to pgxs.mk which
will be appended or prepended to the corresponding make variables.
Notably, there was previously no way to pass custom CXXFLAGS to third
party extension module builds, COPT and PROFILE supporting only CFLAGS
and LDFLAGS.

Backpatch all the way down to ease integration with existing
extensions.

Author: Christoph Berg
Reviewed-by: Andres Freund, Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/20181113104005.GA32154@msg.credativ.de
Backpatch-through: 9.4

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/12ff406f35b6da535f2011917b38c57e7f6a9540

Modified Files
--------------
doc/src/sgml/extend.sgml | 29 ++++++++++++++++++++++++++++-
src/makefiles/pgxs.mk    | 14 +++++++++++++-
2 files changed, 41 insertions(+), 2 deletions(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Avoid possible deadlock while locking multiple heap pages.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Move page initialization from RelationAddExtraBlocks() to use,t