mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[CMAKE]
Ignore warnings about different section flags, when linking freeldr svn path=/branches/cmake-bringup/; revision=50628
This commit is contained in:
parent
b32867cfba
commit
fc12facc03
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ if(NOT MSVC)
|
|||
set_target_properties(freeldr PROPERTIES LINK_FLAGS "-Wl,--strip-all -Wl,--exclude-all-symbols -Wl,--file-alignment,0x1000 -Wl,-T,${CMAKE_CURRENT_SOURCE_DIR}/freeldr_i386.lnk" SUFFIX ".sys")
|
||||
set_image_base(freeldr 0x8000)
|
||||
else()
|
||||
set_target_properties(freeldr PROPERTIES LINK_FLAGS "/DRIVER /FIXED /ALIGN:0x400 /SECTION:.text,ERW /SECTION:.data,RW /MERGE:.text16=.text /MERGE:.data=.text /MERGE:.rdata=.text /MERGE:.bss=.text /SUBSYSTEM:BOOT_APPLICATION" SUFFIX ".sys")
|
||||
set_target_properties(freeldr PROPERTIES LINK_FLAGS "/ignore:4078 /ignore:4254 /DRIVER /FIXED /ALIGN:0x400 /SECTION:.text,ERW /SECTION:.data,RW /MERGE:.text16=.text /MERGE:.data=.text /MERGE:.rdata=.text /MERGE:.bss=.text /SUBSYSTEM:BOOT_APPLICATION" SUFFIX ".sys")
|
||||
set_image_base(freeldr 0x10000)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue