Add sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 5 Oct 2017 10:39:32 +0000 (10:39 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 5 Oct 2017 10:39:32 +0000 (03:39 -0700)
commitbf4df9e6b488c9f1a27652dfa2b60f85a2376fdc
treef6db078c6443bbd6b3ebc240dfd7abf30ba29125
parent7a852b59df9f76478b9a3ce8144c0992ef6fc89a
Add sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC

Since size of "void *" is 4 bytes for x32, check if __x86_64__ is defined
by $CC, instead of

if test x$ac_cv_sizeof_void_p = x8; then

to decide wether sanitizer_linux_x86_64.lo should be used.

PR sanitizer/82379
* configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.

From-SVN: r253441
libsanitizer/ChangeLog
libsanitizer/configure.tgt