Build system fixes

This commit is contained in:
Max Wash
2020-08-24 13:57:36 +01:00
parent 7f08e49fb7
commit ed2529835c

View File

@@ -45,7 +45,7 @@ file(GLOB photon_libc_crt
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/machine/${machine}/crt*.s)
add_library(crt OBJECT ${photon_libc_crt})
# target_compile_options(crt PRIVATE -c -ffreestanding -nostdlib)
target_compile_options(crt PRIVATE -c -ffreestanding -nostdlib)
file(GLOB platform_sources
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/*.c