[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-694-ge76f1d80d

git at osgeo.org git at osgeo.org
Mon Apr 4 21:06:54 PDT 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  e76f1d80d37623036a696a83ae7679bd97ebd0b7 (commit)
      from  9870fd492f4bc58f3a46e16a015705d2aa61fdf7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e76f1d80d37623036a696a83ae7679bd97ebd0b7
Author: Regina Obe <lr at pcorp.us>
Date:   Tue Apr 5 00:06:48 2022 -0400

    Disable LTO on mingw.  References #5121 for PostGIS 3.3

diff --git a/configure.ac b/configure.ac
index 1c36fcbec..1b8a4ef7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1176,8 +1176,10 @@ else
     AC_DEFINE([PARANOIA_LEVEL], [0], [Disable use of memory checks])
     CPPFLAGS="-DNDEBUG $CPPFLAGS"
 
-    AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -flto], [_cv_flto], [-flto], [], [CFLAGS="$CFLAGS -flto"], [])
-    AC_LIBTOOL_LINKER_OPTION([if $compiler supports -flto], [_cv_flto], [[-flto]], [LDFLAGS="$LDFLAGS -flto"])
+		if test "MINGWBUILD" = "0"; then
+    	AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -flto], [_cv_flto], [-flto], [], [CFLAGS="$CFLAGS -flto"], [])
+    	AC_LIBTOOL_LINKER_OPTION([if $compiler supports -flto], [_cv_flto], [[-flto]], [LDFLAGS="$LDFLAGS -flto"])
+		fi
 fi
 
 AC_DEFINE([POSTGIS_DEBUG_LEVEL], [0], [Define debug level. Default 0])

-----------------------------------------------------------------------

Summary of changes:
 configure.ac | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list