[SCM] PostGIS branch master updated. 3.6.0rc2-678-g57fd420a7
git at osgeo.org
git at osgeo.org
Tue Jun 30 13:07:34 PDT 2026
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 57fd420a7e9843c925b241c726ba436ad9f2aeb9 (commit)
from 370c6a160a21d46b0768fb70ea0d75292cc475d0 (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 57fd420a7e9843c925b241c726ba436ad9f2aeb9
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Sun Jun 28 23:17:13 2026 +0400
fuzzers: pass supported sanitizer flags to smoke links
diff --git a/fuzzers/Makefile b/fuzzers/Makefile
index 675e6176f..24968e236 100644
--- a/fuzzers/Makefile
+++ b/fuzzers/Makefile
@@ -10,8 +10,9 @@ SEED_CORPORA := $(wildcard $(FUZZER_SRC_DIR)/*_seed_corpus.zip)
# Makefile, so it must inherit the configured dependency include paths.
POSTGIS_CONFIGURED_CPPFLAGS := $(shell sed -n 's/^CPPFLAGS = //p' $(POSTGIS_BUILD_DIR)/liblwgeom/Makefile 2>/dev/null | sed 's/$$(RYU_INCLUDE)//g; s/-I$$(builddir)//g; s/-I$$(srcdir)//g' | sed 1q)
POSTGIS_CONFIGURED_LDFLAGS := $(shell sed -n 's/^LDFLAGS = //p' $(POSTGIS_BUILD_DIR)/liblwgeom/Makefile 2>/dev/null | sed 1q)
+POSTGIS_CONFIGURED_SANITIZE_FLAGS := $(shell cxx="$(CXX)"; set -- $$cxx; test "$$#" -gt 0 || set -- c++; sed -n 's/^CFLAGS = //p' $(POSTGIS_BUILD_DIR)/liblwgeom/Makefile 2>/dev/null | tr ' ' '\n' | awk '/^-fsanitize/ { print }' | while read flag; do printf 'int main(void){return 0;}\n' | "$$@" "$$flag" -x c++ -fsyntax-only - >/dev/null 2>&1 && printf "%s " "$$flag"; done)
POSTGIS_FUZZER_CPPFLAGS = $(POSTGIS_CONFIGURED_CPPFLAGS) $(CPPFLAGS)
-POSTGIS_FUZZER_LDFLAGS = $(POSTGIS_CONFIGURED_LDFLAGS) $(LDFLAGS)
+POSTGIS_FUZZER_LDFLAGS = $(POSTGIS_CONFIGURED_SANITIZE_FLAGS) $(POSTGIS_CONFIGURED_LDFLAGS) $(LDFLAGS)
.PHONY: clean dummyfuzzers check check-corpus
-----------------------------------------------------------------------
Summary of changes:
fuzzers/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list