[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace
From: David Faure <faure () kde ! org>
Date: 2009-02-26 20:45:08
Message-ID: 1235681108.447617.20876.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 932525 by dfaure:
Set MALLOC_CHECK_ to 1 in release/relwithdebinfo modes, and 2 only in the other modes (debug etc.)
Otherwise some gnome apps crash more often, says comment #1 in 185225 :-)
M +9 -0 ConfigureChecks.cmake
M +1 -1 startkde.cmake
--- trunk/KDE/kdebase/workspace/ConfigureChecks.cmake #932524:932525
@@ -85,3 +85,12 @@
pkg_check_modules (XRANDR_1_2 xrandr>=1.2)
macro_bool_to_01(XRANDR_1_2_FOUND HAS_RANDR_1_2)
+
+# For startkde
+string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
+if(CMAKE_BUILD_TYPE_TOLOWER MATCHES release OR CMAKE_BUILD_TYPE_TOLOWER MATCHES relwithdebinfo)
+ set(MALLOC_CHECK 1)
+else()
+ set(MALLOC_CHECK 2)
+endif()
+
--- trunk/KDE/kdebase/workspace/startkde.cmake #932524:932525
@@ -31,7 +31,7 @@
unset DYLD_FORCE_FLAT_NAMESPACE
# Enable lightweight memory corruption checker
-MALLOC_CHECK_=2
+MALLOC_CHECK_=@MALLOC_CHECK@
export MALLOC_CHECK_
# in case we have been started with full pathname spec without being in PATH
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic