summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5detect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index daf7708..0f3be9c 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -48,8 +48,8 @@ static const char *FileHeader = "\n\
#include "H5Rpublic.h"
#if defined(__has_attribute)
-#if __has_attribute(no_sanitize_address)
-#define HDF_NO_UBSAN __attribute__((no_sanitize_address))
+#if __has_attribute(no_sanitize)
+#define HDF_NO_UBSAN __attribute__((no_sanitize("undefined")))
#else
#define HDF_NO_UBSAN
#endif