summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-28 11:21:50 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-28 11:24:16 +0200
commit3fad0575328c010fe011fb0abebd181fccb91866 (patch)
tree28a1197273b12cf1ee97e09a59e9e6431ddb2832
parent7ef5e1cebab76b55dacca3f8eea10884a6a90d74 (diff)
more reliable override for enabling symbols
-rw-r--r--solenv/gbuild/gbuild.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index f8413f635adb..6b1d18473c58 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -106,12 +106,15 @@ endif
endif
ifneq ($(gb_DEBUGLEVEL),0)
+gb_SYMBOL := $(true)
+endif
+
# if symbols are triggered by something else than --enable-symbols,
# make sure they are actually enabled
-ifneq ($(gb_SYMBOL),$(true))
+ifeq ($(gb_SYMBOL),$(true))
+ifeq ($(ENABLE_SYMBOLS_FOR),)
ENABLE_SYMBOLS_FOR = all
endif
-gb_SYMBOL := $(true)
endif
ifneq ($(nodep),)