Build system fixes
This commit is contained in:
@@ -45,7 +45,7 @@ file(GLOB photon_libc_crt
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/machine/${machine}/crt*.s)
|
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/machine/${machine}/crt*.s)
|
||||||
|
|
||||||
add_library(crt OBJECT ${photon_libc_crt})
|
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
|
file(GLOB platform_sources
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/*.c
|
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/*.c
|
||||||
|
|||||||
Reference in New Issue
Block a user