git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 028b4b2) | patch
Use CXXFLAGS instead of CFLAGS for linking C++ code
Sun, 4 Aug 2024 09:17:46 +0000 (11:17 +0200)
Sun, 4 Aug 2024 09:17:46 +0000 (11:17 +0200)
commit 365b5a345b2680615527b23ee6befa09a2f784f2
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
src/backend/jit/llvm/Makefile diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /