From 5ab7ba4aa0095e53024f055952f89f2653a32c97 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Thu, 25 Aug 2022 22:25:34 +0200 Subject: Enable GCC's -fanalyzer if available And it has already pointed out one leak :-) --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ed42e9f..7660666 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,9 @@ check_set_ccopt -fstack-protector-strong \ check_set_ccopt -fstack-clash-protection \ || check_set_ccopt -fstack-check # fallback +check_set_ccopt -fanalyzer +check_set_ccopt -fsanitize=undefined + # Check compiler capabilities AX_C___ATTRIBUTE__ -- cgit v1.2.3