projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983d1bf
)
[CMAKE] Disable debug sections compression in GCC release builds.
author
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 15 Jun 2015 17:35:29 +0000
(17:35 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 15 Jun 2015 17:35:29 +0000
(17:35 +0000)
svn path=/trunk/; revision=68149
reactos/cmake/gcc.cmake
patch
|
blob
|
history
diff --git
a/reactos/cmake/gcc.cmake
b/reactos/cmake/gcc.cmake
index
64b0d33
..
ee16a5e
100644
(file)
--- a/
reactos/cmake/gcc.cmake
+++ b/
reactos/cmake/gcc.cmake
@@
-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()