[flang] Use object before converts in fir.dispatch (#68589)
[llvm-project.git] / libc / src / sys / mman / CMakeLists.txt
blobe336bfd5d6dbc6e43265c2a5051ab9816bdbfc87
1 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
2   add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
3 endif()
5 add_entrypoint_object(
6   madvise
7   ALIAS
8   DEPENDS
9     .${LIBC_TARGET_OS}.madvise
12 add_entrypoint_object(
13   mmap
14   ALIAS
15   DEPENDS
16     .${LIBC_TARGET_OS}.mmap
19 add_entrypoint_object(
20   munmap
21   ALIAS
22   DEPENDS
23     .${LIBC_TARGET_OS}.munmap
26 add_entrypoint_object(
27   mprotect
28   ALIAS
29   DEPENDS
30     .${LIBC_TARGET_OS}.mprotect
33 add_entrypoint_object(
34   posix_madvise
35   ALIAS
36   DEPENDS
37     .${LIBC_TARGET_OS}.posix_madvise