From 929114fad2f21744e6dec157bbc35d6cad447ad4 Mon Sep 17 00:00:00 2001 From: Parth Patel Date: Wed, 23 Oct 2024 05:23:07 -0500 Subject: [PATCH] glib/glib-private: Build glib without ASAN sanitizer on AIX. In AIX, we doesn't have lsan sysmbols related to sanitizer. So, skipping this check in AIX to build glib without ASAN sanitizer. Issue: https://gitlab.gnome.org/GNOME/glib/-/issues/3512 --- glib/glib-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glib/glib-private.h b/glib/glib-private.h index f61f724ba..3417dfaf6 100644 --- a/glib/glib-private.h +++ b/glib/glib-private.h @@ -64,7 +64,8 @@ * as we'd like: https://stackoverflow.com/a/11529277/210151 and * https://devblogs.microsoft.com/oldnewthing/20200731-00/?p=104024 */ -#elif defined (G_OS_UNIX) && !defined (__APPLE__) && !defined(__CYGWIN__) && g_macro__has_attribute (weak) +#elif defined (G_OS_UNIX) && !defined (__APPLE__) && !defined(__CYGWIN__) && !defined(_AIX) && \ + g_macro__has_attribute (weak) #define HAS_DYNAMIC_ASAN_LOADING