From a680b2abe725f4d52403652688a94490f2023752 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cristian=20Rodr=C3=ADguez?= Date: Sat, 30 May 2015 15:51:41 -0300 Subject: [PATCH] sys-utils: lscpu segfaults when built with -fsanitize=address This is expected and a false positive, exclude the vmware detection trick when __SANITIZE_ADDRESS__ is defined. --- sys-utils/lscpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index b36d1daa79..f695a320de 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -34,7 +34,7 @@ #include #include -#if defined(__x86_64__) || defined(__i386__) +#if (defined(__x86_64__) || defined(__i386__)) && !defined(__SANITIZE_ADDRESS__) # define INCLUDE_VMWARE_BDOOR #endif -- 2.47.3