diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 13:34:06 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 13:34:06 +0300 |
commit | 646a9f3410dab150e0c7871273d4982fa5c132e9 (patch) | |
tree | 369f08fb0ea87b71705698f28a823613a17e91bc /libpq/libpq/buildfile | |
parent | a7d1f57917dd9bf93ab0f072ccbe4b1bbe56bfe9 (diff) |
Release version 14.1.0+1v14.1.0+1
Suppress -Wdeprecated-declarations Clang 15 warning.
Fix link order so that libraries are linked after all object files.
Diffstat (limited to 'libpq/libpq/buildfile')
-rw-r--r-- | libpq/libpq/buildfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libpq/libpq/buildfile b/libpq/libpq/buildfile index 28cd073..413583c 100644 --- a/libpq/libpq/buildfile +++ b/libpq/libpq/buildfile @@ -24,8 +24,7 @@ lib{pq}: {h }{* -version} \ -*win32*} \ common/{h c}{* } \ include/{h }{** } \ - pq/{file}{pg_service.conf.sample} \ - $imp_libs + pq/{file}{pg_service.conf.sample} tclass = $c.target.class tsys = $c.target.system @@ -50,6 +49,8 @@ lib{pq}: port/c{strlcpy}: include = (!$bsd && !$macos) lib{pq}: pq/{h c}{*win32* } \ port/{h c}{*win32* +getaddrinfo +inet_aton}: include = $windows +lib{pq}: $imp_libs + libs{pq}: map{libpqdll}: include = ($linux || $bsd ? adhoc : false) libs{pq}: def{libpqdll}: include = $windows @@ -191,7 +192,9 @@ switch $c.class # way that works across compilers/version (some -Wno-* options are only # recognized in newer versions). # - c.coptions += -Wno-all -Wno-extra + # @@ TMP: try to re-enable on next release. + # + c.coptions += -Wno-all -Wno-extra -Wno-deprecated-declarations } case 'msvc' { |