[Libreoffice-commits] .: solenv/gbuild

David Tardon dtardon at kemper.freedesktop.org
Sat Mar 19 09:13:18 PDT 2011


 solenv/gbuild/gbuild.mk |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 3eeb7796289a75a90583f99900e2918dbcecfbcd
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Mar 19 17:13:10 2011 +0100

    make default debug level 1 and use dbglevel if set

diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 5677d79..dc80650 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -89,7 +89,7 @@ endif
 
 
 ifneq ($(strip $(DEBUG)$(debug)),)
-gb_DEBUGLEVEL := 2
+gb_DEBUGLEVEL := 1
 gb_SYMBOL := $(true)
 else
 ifeq ($(gb_PRODUCT),$(true))
@@ -99,6 +99,12 @@ gb_DEBUGLEVEL := 1
 endif
 endif
 
+ifneq ($(strip $(DBGLEVEL)$(dbglevel)),)
+# FIXME: problem if both set
+gb_DEBUGLEVEL := $(strip $(DBGLEVEL)$(dbglevel))
+gb_SYMBOL := $(true)
+endif
+
 ifneq ($(strip $(ENABLE_PCH)),)
 gb_ENABLE_PCH := $(true)
 else


More information about the Libreoffice-commits mailing list