Author: akhaldi
Date: Mon Jun 15 17:35:29 2015
New Revision: 68149
URL:
http://svn.reactos.org/svn/reactos?rev=68149&view=rev
Log:
[CMAKE] Disable debug sections compression in 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=68149&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Mon Jun 15 17:35:29 2015
@@ -240,7 +240,7 @@
set(CMAKE_EXE_LINKER_FLAGS "-nostdlib
-Wl,--enable-auto-image-base,--disable-auto-import,--disable-stdcall-fixup")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS_INIT}
-Wl,--disable-stdcall-fixup")
-if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
+if((NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") AND (NOT CMAKE_BUILD_TYPE
STREQUAL "Release"))
set(_compress_debug_sections_flag "-Wa,--compress-debug-sections")
endif()