pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code
Date: Sun, 04 Aug 2024 09:24:30 +0000
Message-ID: <E1saXTa-002cIi-En@gemulon.postgresql.org> (raw)

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(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1saXTa-002cIi-En@gemulon.postgresql.org>
Permalink:  ../E1saXTa-002cIi-En@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1saXTa-002cIi-En@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use CXXFLAGS instead of CFLAGS for linking C++ code
  In-Reply-To: <E1saXTa-002cIi-En@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox