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.
This commit is contained in:
Cristian Rodríguez 2015-05-30 15:51:41 -03:00 committed by Karel Zak
parent a79b7cab66
commit a680b2abe7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#if defined(__x86_64__) || defined(__i386__)
#if (defined(__x86_64__) || defined(__i386__)) && !defined(__SANITIZE_ADDRESS__)
# define INCLUDE_VMWARE_BDOOR
#endif