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:
parent
a79b7cab66
commit
a680b2abe7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue