diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-06-07 08:50:51 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-06-07 09:36:26 +0200 |
commit | 3482bab5e30a0cc7fba4c904ba21b4957b2876bd (patch) | |
tree | 738030042a047a38f71a24a83276a49111cdf969 /contrib/postgres_fdw/postgres_fdw.c | |
parent | b560a98a17aebf3fabbb8dec89f506b52e61c26b (diff) | |
download | postgresql-3482bab5e30a0cc7fba4c904ba21b4957b2876bd.tar.gz postgresql-3482bab5e30a0cc7fba4c904ba21b4957b2876bd.zip |
meson: Restore implicit warning/debug/optimize flags for extensions
Meson uses warning/debug/optimize flags such as "-Wall", "-g", and
"-O2" automatically based on "--warnlevel" and "--buildtype" options.
And we use "--warning_level=1" and "--buildtype=debugoptimized" by
default.
But we need these flags for Makefile.global (for extensions) and
pg_config, so we need to compute them manually based on the
higher-level options.
Without this change, extensions building using pgxs wouldn't get -Wall
or optimization options.
Author: Sutou Kouhei <kou@clear-code.com>
Discussion: https://www.postgresql.org/message-id/flat/20240122.141139.931086145628347157.kou%40clear-code.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions