[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/04: configure: use CFLAGS only one time when testing
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/04: configure: use CFLAGS only one time when testing for sanitizers |
Date: |
Tue, 07 Sep 2021 11:27:54 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 12771c10bf019e830107de038559c6cd3891abe6
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Sep 6 19:05:56 2021 +0300
configure: use CFLAGS only one time when testing for sanitizers
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 2a8e4e39..d6175ec2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2637,8 +2637,9 @@ AS_VAR_IF([enable_sanitizers], ["yes"],
)
AS_CASE(["$enabled_sanitizers"], [*undefined],
[
+ CFLAGS="${new_CFLAGS}"
AX_APPEND_COMPILE_FLAGS([-fsanitize=bounds-strict
-fsanitize=local-bounds -fsanitize=implicit-conversion
-fsanitize=nullability-arg],
- [new_CFLAGS], [${new_CFLAGS}])
+ [new_CFLAGS], [])
]
)
AC_CACHE_CHECK([for leak sanitizer], [mhd_cv_cc_sanitizer_leak],
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.