blob: bca19fb374d2414f87f08516dc0535cd8abc59d1 [file] [edit]
add_startup_object(
start
SRC
start.cpp
DEPENDS
libc.config.app_h
libc.src.__support.macros.attributes
COMPILE_OPTIONS
-fno-omit-frame-pointer
-ffreestanding # To avoid compiler warnings about calling the main function.
)
add_startup_object(
irelative
SRC
irelative.cpp
DEPENDS
libc.hdr.link_macros
libc.hdr.elf_macros
libc.hdr.elf_proxy
libc.hdr.stdint_proxy
libc.src.__support.macros.config
COMPILE_OPTIONS
-fno-stack-protector
-fno-omit-frame-pointer
-ffreestanding
-fno-builtin
)