mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
[CMAKE] Disable debug sections compression in GCC release builds.
svn path=/trunk/; revision=68149
This commit is contained in:
parent
983d1bf043
commit
2d7fe93b09
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ endif()
|
|||
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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue