Author: akhaldi
Date: Fri Feb 4 22:43:36 2011
New Revision: 50606
URL:
http://svn.reactos.org/svn/reactos?rev=50606&view=rev
Log:
[FREELDR]
- Don't apply gcc only flags to msvc.
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] Fri Feb 4
22:43:36 2011
@@ -199,7 +199,9 @@
list(APPEND SETUPLDR_MAIN_SOURCE windows/setupldr2.c)
endif()
-set_source_files_properties(${SETUPLDR_MAIN_SOURCE} PROPERTIES COMPILE_FLAGS
"-ffreestanding -fno-builtin -fno-inline -fno-zero-initialized-in-bss")
+if(NOT MSVC)
+ set_source_files_properties(${SETUPLDR_MAIN_SOURCE} PROPERTIES COMPILE_FLAGS
"-ffreestanding -fno-builtin -fno-inline -fno-zero-initialized-in-bss")
+endif()
list(APPEND SETUPLDR_SOURCE
${FREELDR_STARTUP_SOURCE}