Revert "[Tizen] Enable Debug on" 97/145797/1 accepted/tizen/unified/20170824.172447 submit/tizen/20170824.061020
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 24 Aug 2017 01:22:26 +0000 (10:22 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 24 Aug 2017 01:22:39 +0000 (10:22 +0900)
This reverts commit bf29cb32a057dbdfa37226c36295b918154474cb.

Change-Id: Ic4a48633200e8913d2bd3bb514995d3031b5cbad

dali/internal/update/nodes/node.cpp
packaging/dali.spec

index 1a06b8d..a785e3d 100644 (file)
@@ -37,7 +37,7 @@ int gNodeCount =0;
 // Called when the process is about to exit, Node count should be zero at this point.
 void __attribute__ ((destructor)) ShutDown(void)
 {
-//DALI_ASSERT_DEBUG( (gNodeCount == 0) && "Node memory leak");
+DALI_ASSERT_DEBUG( (gNodeCount == 0) && "Node memory leak");
 }
 #endif
 }
index c76853d..c983c97 100644 (file)
@@ -107,7 +107,9 @@ LDFLAGS="${LDFLAGS:-%optflags}" ; export LDFLAGS;
       --sharedstatedir=%{_sharedstatedir} \
       --mandir=%{_mandir} \
       --enable-gles=%{target_gles_version} \
+%if 0%{?enable_debug}
       --enable-debug \
+%endif
       --infodir=%{_infodir}
 
 make %{?jobs:-j%jobs}