projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad9dc10
)
[CMAKE] Disable rossym for GCC release builds.
author
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 15 Jun 2015 16:43:11 +0000
(16:43 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 15 Jun 2015 16:43:11 +0000
(16:43 +0000)
svn path=/trunk/; revision=68147
reactos/cmake/gcc.cmake
patch
|
blob
|
history
diff --git
a/reactos/cmake/gcc.cmake
b/reactos/cmake/gcc.cmake
index
2ef02a0
..
599c669
100644
(file)
--- a/
reactos/cmake/gcc.cmake
+++ b/
reactos/cmake/gcc.cmake
@@
-12,7
+12,9
@@
if(NOT DEFINED SEPARATE_DBG)
endif()
# Dwarf based builds (no rsym)
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()
set(NO_ROSSYM FALSE)
endif()