mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
add flag to be sure that the linker creates a static binary
This commit is contained in:
parent
eb74975435
commit
1b182b089a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ target_link_libraries(arch_x86_loader
|
|||
"-T ${CMAKE_CURRENT_LIST_DIR}/link.ld"
|
||||
"-z max-page-size=4096"
|
||||
-Wl,--build-id=none # required because CMake links with gcc, not ld
|
||||
-nostdlib)
|
||||
-nostdlib -static)
|
||||
|
||||
# tools/proxy looks for `ldhermit.elf`
|
||||
set_target_properties(arch_x86_loader PROPERTIES
|
||||
|
|
Loading…
Add table
Reference in a new issue