]> git.ipfire.org Git - pakfire.git/commitdiff
configure: Remove option to enable the static analyzer
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Oct 2024 15:50:15 +0000 (15:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Oct 2024 17:35:28 +0000 (17:35 +0000)
This is not compatible with Clang.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
configure.ac

index 75feeb1a10ae77967157089a7b4d1823befd8ee6..b43c3b0ca86f83871f6ed3ba8b51ce26e4dce02b 100644 (file)
@@ -182,8 +182,7 @@ libpakfire_parser_la_SOURCES = \
 
 libpakfire_parser_la_CFLAGS = \
        $(AM_CFLAGS) \
-       $(JSON_C_CFLAGS) \
-       -fno-analyzer
+       $(JSON_C_CFLAGS)
 
 libpakfire_parser_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
@@ -913,9 +912,6 @@ noinst_PROGRAMS += \
 tests_stub_root_command_SOURCES = \
        tests/stub/command.c
 
-tests_stub_root_command_CFLAGS = \
-       -fno-analyzer
-
 tests_stub_root_command_LDFLAGS = \
        -all-static
 
index 95db656a6fc0ce3fd4cc2464176eb22ee37c1c10..43a213e6a8c8824768e2fa282d30bd49175d8ea8 100644 (file)
@@ -144,14 +144,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
        -fno-common \
 ])
 
-# Enable -fanalyzer if requested
-AC_ARG_ENABLE([analyzer],
-       AS_HELP_STRING([--enable-analyzer], [enable static analyzer (-fanalyzer) @<:@default=disabled@:>@]),
-       [], [enable_analyzer=no])
-AS_IF([test "x$enable_analyzer" = "xyes"],
-       CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [-fanalyzer])
-)
-
 # Enable -fno-semantic-interposition (if available)
 CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [-fno-semantic-interposition])
 CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [-fno-semantic-interposition])