Author: tkreuzer
Date: Wed Feb 9 11:09:50 2011
New Revision: 50628
URL:
http://svn.reactos.org/svn/reactos?rev=50628&view=rev
Log:
[CMAKE]
Ignore warnings about different section flags, when linking freeldr
Modified:
branches/cmake-bringup/boot/freeldr/freeldr/CMakeLists.txt
Modified: branches/cmake-bringup/boot/freeldr/freeldr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/boot/freeldr/free…
==============================================================================
--- branches/cmake-bringup/boot/freeldr/freeldr/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/boot/freeldr/freeldr/CMakeLists.txt [iso-8859-1] Wed Feb 9
11:09:50 2011
@@ -168,7 +168,7 @@
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()