projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CMAKE] Disable rossym for GCC release builds.
[reactos.git]
/
reactos
/
cmake
/
gcc.cmake
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)
-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()