Author: akhaldi
Date: Mon Jun 15 16:43:11 2015
New Revision: 68147
URL:
http://svn.reactos.org/svn/reactos?rev=68147&view=rev
Log:
[CMAKE] Disable rossym for GCC release builds.
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=68147&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Mon Jun 15 16:43:11 2015
@@ -12,7 +12,9 @@
endif()
# Dwarf based builds (no rsym)
-if(NOT DEFINED NO_ROSSYM)
+if(CMAKE_BUILD_TYPE STREQUAL "Release")
+ set(NO_ROSSYM TRUE)
+elseif(NOT DEFINED NO_ROSSYM)
set(NO_ROSSYM FALSE)
endif()