mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 22:06:06 +00:00
[libc] Fix relocatable link attempting to pull in standard libs
This commit is contained in:
parent
7e049373f4
commit
d3ecb16e85
@ -34,7 +34,7 @@ function(add_startup_object name)
|
||||
RUNTIME_OUTPUT_DIRECTORY ${LIBC_LIBRARY_DIR}
|
||||
RUNTIME_OUTPUT_NAME ${name}.o)
|
||||
target_link_options(${fq_target_name}.exe PRIVATE
|
||||
"-flto" "-Wl,--lto-emit-llvm" "-march= ")
|
||||
"-nostdlib" "-flto" "-Wl,--lto-emit-llvm" "-march= ")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user