From 646a9f3410dab150e0c7871273d4982fa5c132e9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 13:34:06 +0300 Subject: Release version 14.1.0+1 Suppress -Wdeprecated-declarations Clang 15 warning. Fix link order so that libraries are linked after all object files. --- libpq/libpq/buildfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libpq/libpq/buildfile') 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' { -- cgit v1.1