summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cd67be..6173245 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,11 +107,13 @@ target_sources(Objective PRIVATE
)
target_link_libraries(Objective PRIVATE
- CRTI
+ $<TARGET_OBJECTS:CRTI>
+ $<TARGET_OBJECTS:CRTBEGIN>
Architecture
Kernel
Drivers
- CRTN
+ $<TARGET_OBJECTS:CRTEND>
+ $<TARGET_OBJECTS:CRTN>
)
# Set cxx linker options