commit c556a538a951dd95d8c134420c486708de0b943b
parent ddf368bb6d1093657ab29cb5af894bdc2b93788f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 15 Apr 2021 18:58:58 +0300
configure: fixed '--enable-sanitizer'
Due to typo, using '--enable-sanitizer' resulted in lost of LDFLAGS
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+Thu 15 Apr 2021 18:56:00 MSK
+ Fixed configure '--enable-sanitizer' paramenter.
+ Stopped pushing of patrial responses when limited by system maximum size
+ for sendmsg(). -EG
+
Web 14 Apr 2021 22:20:00 MSK
Fixed: use sendmsg() in POSIX-compatible way, do not try to send more
than IOV_MAX elements per single call. -EG
diff --git a/configure.ac b/configure.ac
@@ -117,7 +117,7 @@ AC_ARG_ENABLE([linker-hardening],
AC_ARG_ENABLE([sanitizer],
[AS_HELP_STRING([--enable-sanitizer], [enable Address Sanitizer and Undefined Behavior Sanitizer])],
[AS_IF([test x$enableval = xyes],[
- LDFLAGS="$CFLAGS -fsanitize=address,undefined -fno-omit-frame-pointer"
+ CFLAGS="$CFLAGS -fsanitize=address,undefined -fno-omit-frame-pointer"
])])