Author: akhaldi
Date: Sat Oct 9 12:53:12 2010
New Revision: 49070
URL:
http://svn.reactos.org/svn/reactos?rev=49070&view=rev
Log:
[CMAKE]
- Apply the linker script to freeldr.
Modified:
branches/cmake-bringup/boot/CMakeLists.txt
Modified: branches/cmake-bringup/boot/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/boot/CMakeLists.t…
==============================================================================
--- branches/cmake-bringup/boot/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/boot/CMakeLists.txt [iso-8859-1] Sat Oct 9 12:53:12 2010
@@ -170,7 +170,7 @@
${CMAKE_CURRENT_BINARY_DIR}/freeldr_freeldr.h.gch
${FREELDR_SOURCE})
-set_target_properties(freeldr PROPERTIES LINK_FLAGS "-Wl,--strip-all
-Wl,-entry,_mainCRTStartup -Wl,--image-base,0x8000 -Wl,--exclude-all-symbols
-Wl,--subsystem,native -Wl,--file-alignment,0x1000" SUFFIX ".sys")
+set_target_properties(freeldr PROPERTIES LINK_FLAGS "-Wl,--strip-all
-Wl,-entry,_mainCRTStartup -Wl,--image-base,0x8000 -Wl,--exclude-all-symbols
-Wl,--subsystem,native -Wl,--file-alignment,0x1000
-Wl,-T,${REACTOS_SOURCE_DIR}/global.lds" SUFFIX ".sys")
if(ARCH MATCHES i386)
target_link_libraries(freeldr mini_hal)