Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / startup / linux / x86_64 / CMakeLists.txt
blob076c0c3e444f565e0fd0544965c54eaeeff9a8a3
1 add_startup_object(
2   crt1
3   SRC
4     start.cpp
5   DEPENDS
6     libc.config.linux.app_h
7     libc.include.sys_mman
8     libc.include.sys_syscall
9     libc.include.unistd
10     libc.src.__support.threads.thread
11     libc.src.__support.OSUtil.osutil
12     libc.src.stdlib.exit
13     libc.src.stdlib.abort
14     libc.src.stdlib.atexit
15     libc.src.string.memory_utils.inline_memcpy
16     libc.src.unistd.environ
17   COMPILE_OPTIONS
18     -fno-omit-frame-pointer
19     -ffreestanding # To avoid compiler warnings about calling the main function.
20     -fno-builtin