pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code
Date
Msg-id E1saXTa-002cIi-En@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix incorrect format placeholders in pgstat.c
Next
From: Michael Paquier
Date:
Subject: pgsql: Introduce pluggable APIs for Cumulative Statistics