unbreak __sbrk detection on cmake
This commit is contained in:
parent
d4f3362035
commit
e53ec241b6
|
@ -168,7 +168,7 @@ set(CMAKE_EXTRA_INCLUDE_FILES "elf.h")
|
||||||
check_type_size("Elf32_Versym" ELF32_VERSYM LANGUAGE CXX) # for vdso_support.h
|
check_type_size("Elf32_Versym" ELF32_VERSYM LANGUAGE CXX) # for vdso_support.h
|
||||||
set(CMAKE_EXTRA_INCLUDE_FILES)
|
set(CMAKE_EXTRA_INCLUDE_FILES)
|
||||||
check_function_exists("sbrk" HAVE_SBRK) # for tcmalloc to get memory
|
check_function_exists("sbrk" HAVE_SBRK) # for tcmalloc to get memory
|
||||||
check_function_exists("__sbrk" HAVE_SBRK) # for tcmalloc to get memory
|
check_function_exists("__sbrk" HAVE___SBRK) # for tcmalloc to get memory
|
||||||
check_function_exists("geteuid" HAVE_GETEUID) # for turning off services when run as root
|
check_function_exists("geteuid" HAVE_GETEUID) # for turning off services when run as root
|
||||||
check_function_exists("fork" HAVE_FORK) # for the pthread_atfork setup
|
check_function_exists("fork" HAVE_FORK) # for the pthread_atfork setup
|
||||||
check_include_file("features.h" HAVE_FEATURES_H) # for vdso_support.h, Where __GLIBC__ is defined
|
check_include_file("features.h" HAVE_FEATURES_H) # for vdso_support.h, Where __GLIBC__ is defined
|
||||||
|
|
Loading…
Reference in New Issue