summaryrefslogtreecommitdiffstats
path: root/berkeleydb/makefile.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-06 18:43:15 +0200
committerPetr Mladek <pmladek@suse.cz>2012-09-10 13:00:53 +0000
commit717af0973f64bb7cff5f14bd0fb973355559cc70 (patch)
tree205719707de02ab6d49e0ccdd34229f06d92930d /berkeleydb/makefile.mk
parentfdo#52246 let helpex use gsicheck's tag checker (diff)
downloadcore-717af0973f64bb7cff5f14bd0fb973355559cc70.tar.gz
core-717af0973f64bb7cff5f14bd0fb973355559cc70.zip
gbuild: disable symbols on --enable-dbgutil --disable-symbols
Due to the setup of gb_DEBUGLEVEL in gbuild.mk, gb_SYMBOL was always enabled when --enable-dbgutil is set, with no way to override it. Fix that by turning configure's ENABLE_SYMBOLS into a tri-state, where the new "FALSE" value, set by an explicit --disable-symbols, overrides any implicit way of enabling symbols. But by default an --enable-dbgutil still enables gb_SYMBOL. Change-Id: I94c609863980ed1ab9c73d7a4861c394442b531d (cherry picked from commit d9cbc837f84c415f5949a6893764dae8268f0d85) Reviewed-on: https://gerrit.libreoffice.org/572 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'berkeleydb/makefile.mk')
-rw-r--r--berkeleydb/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/berkeleydb/makefile.mk b/berkeleydb/makefile.mk
index 6ee001dd7c64..efed932a879a 100644
--- a/berkeleydb/makefile.mk
+++ b/berkeleydb/makefile.mk
@@ -82,7 +82,7 @@ CXXFLAGS:=
.IF "$(COM)"=="GCC"
CFLAGS:=-fno-strict-aliasing $(EXTRA_CFLAGS)
CXXFLAGS:=-fno-strict-aliasing $(EXTRA_CFLAGS)
-.IF "$(ENABLE_SYMBOLS)"!=""
+.IF "$(ENABLE_SYMBOLS)"!="" && "$(ENABLE_SYMBOLS)"!="FALSE"
CFLAGS+=-g
CXXFLAGS+=-g
.ENDIF