libc/startup/baremetal/aarch64/CMakeLists.txt
raw| 1 | add_startup_object( |
| 2 | crt1 |
| 3 | SRC |
| 4 | start.cpp |
| 5 | DEPENDS |
| 6 | libc.src.stdlib.atexit |
| 7 | libc.src.stdlib.exit |
| 8 | libc.src.string.memcpy |
| 9 | libc.src.string.memset |
| 10 | libc.startup.baremetal.init |
| 11 | libc.startup.baremetal.fini |
| 12 | COMPILE_OPTIONS |
| 13 | -ffreestanding # To avoid compiler warnings about calling the main function. |
| 14 | -fno-builtin |
| 15 | -Wno-global-constructors # To allow vector table initialization |
| 16 | ) |