summaryrefslogtreecommitdiff
path: root/solenv/gbuild/gbuild.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-20 17:26:01 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-23 19:17:42 +0200
commitf46f1421277d2432e3aef6923df13fc220bd15b9 (patch)
tree0ba1418f71566c8570b8ea72f44491c18b97652e /solenv/gbuild/gbuild.mk
parentfaa15bd23ef0e54cc677c2252123bddcb90b4f0d (diff)
if debug symbols are enabled indirectly, make sure they are actually built
Diffstat (limited to 'solenv/gbuild/gbuild.mk')
-rw-r--r--solenv/gbuild/gbuild.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 8e5141b213f2..a37cb8ba7821 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -105,6 +105,11 @@ endif
endif
ifneq ($(gb_DEBUGLEVEL),0)
+# if symbols are triggered by something else than --enable-symbols,
+# make sure they are actually enabled
+ifneq ($(gb_SYMBOL),$(true))
+ENABLE_SYMBOLS_FOR = all
+endif
gb_SYMBOL := $(true)
endif