1
0
Fork 0
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:
Stefan Lankes 2017-08-07 08:11:56 +02:00
parent 8016a757a9
commit 68a74edda1

View file

@ -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)