postgresql/src
Peter Eisentraut 0f17d1dbfa headerscheck: Get CXXFLAGS from Makefile.global
headerscheck in C++ mode (cpluspluscheck) previously hardcoded
CXXFLAGS and documented that you might need to override them manually
from the environment.  Now that we have better C++ support in the
build system, we can just get CXXFLAGS from Makefile.global, like we
do for other variables.

Furthermore, this is necessary in some configurations to make
cpluspluscheck work under meson, because under meson, some -I options
end up in CXXFLAGS where under make they would be in CPPFLAGS.
Therefore, getting the correct CXXFLAGS is required in those cases.

Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAMSWrt-PoQt4sHryWrB1ViuGBJF_PpbjoSGrWR2Ry47bHNLDqg%40mail.gmail.com
2026-03-23 07:53:43 +01:00
..
backend Add missing deflateEnd() for server-side gzip base backups 2026-03-23 09:04:44 +09:00
bin pg_createsubscriber: Introduce module-specific logging functions. 2026-03-23 09:23:20 +05:30
common Move tar detection and compression logic to common. 2026-03-20 15:31:35 -04:00
fe_utils Remove nonfunctional tar file trailer size check. 2026-03-22 18:13:41 -04:00
include Add pruning fast path for all-visible and all-frozen pages 2026-03-22 15:46:50 -04:00
interfaces Fix -Wstrict-prototypes warning in ecpg_init_sqlca() declaration. 2026-03-18 15:27:49 -04:00
makefiles meson: Add {perl|python}_includespec to generated Makefile.global 2026-03-18 11:09:14 +01:00
pl plpgsql: optimize "SELECT simple-expression INTO var". 2026-03-20 18:23:45 -04:00
port Check for memset_explicit() and explicit_memset() 2026-03-02 07:51:19 +01:00
template Switch the semaphore API on Solaris to unnamed POSIX. 2026-03-14 14:10:32 -04:00
test Add test for single-page VACUUM of hash index on INSERT 2026-03-22 15:24:33 +09:00
timezone Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
tools headerscheck: Get CXXFLAGS from Makefile.global 2026-03-23 07:53:43 +01:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00