diff options
author | Andres Freund | 2022-12-07 02:56:46 +0000 |
---|---|---|
committer | Andres Freund | 2022-12-07 02:56:46 +0000 |
commit | 5bdd0cfb91036b396935fad289c627602a00130c (patch) | |
tree | 0b44b66d64ba9fbbc55e4c6d99608be42a5d3875 /src/common/meson.build | |
parent | 9db49fc5bfdc0126be03f4b8986013e59d93b91d (diff) |
meson: Add basic PGXS compatibility
Generate a Makefile.global that's complete enough for PGXS to work for some
extensions. It is likely that this compatibility layer will not suffice for
every extension and not all platforms - we can expand it over time.
This allows extensions to use a single buildsystem across all the supported
postgres versions. Once all supported PG versions support meson, we can remove
the compatibility layer.
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/20221005200710.luvw5evhwf6clig6@awork3.anarazel.de
Diffstat (limited to 'src/common/meson.build')
-rw-r--r-- | src/common/meson.build | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/meson.build b/src/common/meson.build index 1c9b8a3a018..f69d75e9c6e 100644 --- a/src/common/meson.build +++ b/src/common/meson.build @@ -64,9 +64,7 @@ ryu_sources = files( ) ryu_cflags = [] -if using_declaration_after_statement_warning - ryu_cflags += ['-Wno-declaration-after-statement'] -endif +ryu_cflags += cflags_no_decl_after_statement config_info_sources = files('config_info.c',) config_info_cflags = [ |