forked from OSchip/llvm-project
Disable getauxval for Go
We want the Go build to not use getauxval, as we must support glibc < 2.16 platforms. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D84859
This commit is contained in:
parent
86609b7af7
commit
6c75db8b4b
|
@ -21,8 +21,9 @@
|
|||
|
||||
#if SANITIZER_LINUX || SANITIZER_FUCHSIA
|
||||
|
||||
# if __GLIBC_PREREQ(2, 16) || (SANITIZER_ANDROID && __ANDROID_API__ >= 21) || \
|
||||
SANITIZER_FUCHSIA
|
||||
# if (__GLIBC_PREREQ(2, 16) || (SANITIZER_ANDROID && __ANDROID_API__ >= 21) || \
|
||||
SANITIZER_FUCHSIA) && \
|
||||
!SANITIZER_GO
|
||||
# define SANITIZER_USE_GETAUXVAL 1
|
||||
# else
|
||||
# define SANITIZER_USE_GETAUXVAL 0
|
||||
|
|
Loading…
Reference in New Issue