We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18170d0 commit 7a87ff6Copy full SHA for 7a87ff6
libc/startup/linux/CMakeLists.txt
@@ -26,7 +26,7 @@ function(merge_relocatable_object name)
26
)
27
# Pass -r to the driver is much cleaner than passing -Wl,-r: the compiler knows it is
28
# a relocatable linking and will not pass other irrelevant flags to the linker.
29
- target_link_options(${relocatable_target} PRIVATE -r)
+ target_link_options(${relocatable_target} PRIVATE -r -nostdlib)
30
set_target_properties(
31
${relocatable_target}
32
PROPERTIES
0 commit comments