brintos

brintos / llvm-project-archived public Read only

0
0
Text · 328 B · f2f553f Raw
9 lines · plain
1include(CheckSymbolExists)2check_symbol_exists(SYS_faccessat2 "sys/syscall.h" HAVE_SYS_FACCESSAT2)3if(NOT HAVE_SYS_FACCESSAT2)4  message(VERBOSE "unistd.faccessat excluded from build, faccessat2 syscall is not available on the system")5  list(APPEND TARGET_LLVMLIBC_REMOVED_ENTRYPOINTS6    libc.src.unistd.faccessat7  )8endif()9