支持mac m1编译,ns功能测试
This commit is contained in:
@@ -33,7 +33,7 @@ add_dependencies(init.elf
|
||||
muslc
|
||||
)
|
||||
set_target_properties(init.elf PROPERTIES LINK_FLAGS
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section -no-dynamic-linker --no-warn-rwx-segments"
|
||||
)
|
||||
#-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds
|
||||
add_custom_target(
|
||||
|
||||
Reference in New Issue
Block a user