pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code
Дата
Msg-id E1saXTa-002cIi-En@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use CXXFLAGS instead of CFLAGS for linking C++ code

Otherwise, this would break if using C and C++ compilers from
different families and they understand different options.  It already
used the right flags for compiling, this is only for linking.  Also,
the meson setup already did this correctly.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/228700.1722717983@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/365b5a345b2680615527b23ee6befa09a2f784f2

Modified Files
--------------
src/backend/jit/llvm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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