mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
use always compiler flags, which are supported by gcc & clang
This commit is contained in:
parent
8016a757a9
commit
68a74edda1
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ target_compile_options(arch_x86_loader
|
|||
|
||||
target_link_libraries(arch_x86_loader
|
||||
arch_x86_loader_asm
|
||||
"-T ${CMAKE_CURRENT_LIST_DIR}/link.ld"
|
||||
"-Wl,-T -Wl,${CMAKE_CURRENT_LIST_DIR}/link.ld"
|
||||
"-z max-page-size=4096"
|
||||
-Wl,--build-id=none # required because CMake links with gcc, not ld
|
||||
-nostdlib -static)
|
||||
|
|
Loading…
Add table
Reference in a new issue