[postgis-tickets] [SCM] PostGIS branch master updated. 651add11bdb70ccb3b94cc640c99457bdc80f0dd

git at osgeo.org git at osgeo.org
Mon Nov 25 10:25:47 PST 2019


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  651add11bdb70ccb3b94cc640c99457bdc80f0dd (commit)
      from  1ceef381a78b1724281f2c63af64e796a06a7b50 (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 651add11bdb70ccb3b94cc640c99457bdc80f0dd
Author: Raúl Marín <git at rmr.ninja>
Date:   Sat Nov 23 15:34:06 2019 +0100

    Disable C asserts when building without "--enable-debug"
    
    Closes https://github.com/postgis/postgis/pull/518
    Closes #4589

diff --git a/NEWS b/NEWS
index 20ef5c1..1e2b797 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ PostGIS 3.1.0
   - #4574, Link Time Optimizations enabled (Darafei Praliaskouski)
   - #4578, Add parallellism and cost properties to brin functions (Raúl Marín)
   - #4473, Silence yacc warnings (Raúl Marín)
+  - #4589, Disable C asserts when building without "--enable-debug" (Raúl Marín)
 
 * Bug fixes *
   - #4544, Fix leak when parsing a WKT geometry_list (Raúl Marín)
diff --git a/configure.ac b/configure.ac
index a336c52..4298fed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1127,7 +1127,7 @@ if test $ENABLE_DEBUG -eq 1; then
     CFLAGS="$CFLAGS -g"
 else
     AC_DEFINE([PARANOIA_LEVEL], [0], [Disable use of memory checks])
-    AC_DEFINE([NDEBUG], [0], [Disable C asserts])
+    CPPFLAGS="-DNDEBUG $CPPFLAGS"
 fi
 
 

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

Summary of changes:
 NEWS         | 1 +
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list