summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-17 13:35:58 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-08-10 18:07:19 +0200
commit742d15fe623830773541eccf39571ce316751d5a (patch)
tree76c9d196ff53d04c0681c8f197061aae4d64b6e8
parent8e5525be56447239f2322f0acadd057314ae6677 (diff)
"make debug=t" enables debuginfo again
...which had inadvertently been broken with 99db9f2295eb9a8b3288df9798a292b8d6e1b854 "Make --enable-symbols orthogonal to --enable-debug/-dbgutil" Change-Id: I3962aa8c67426f3aebc5ad746f7ac281c68d941a (cherry picked from commit 62c4a8aacf76771e97a8da35096e6ad69a11979a)
-rw-r--r--solenv/gbuild/gbuild.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 168a205cb63b..983473bfdea4 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -87,12 +87,14 @@ gb_DEBUGLEVEL := 1
# make DEBUG=true should force -g
ifeq ($(origin DEBUG),command line)
ENABLE_DEBUGINFO_FOR := all
+ENABLE_SYMBOLS := TRUE
endif
endif
ifneq ($(strip $(debug)),)
gb_DEBUGLEVEL := 1
ifeq ($(origin debug),command line)
ENABLE_DEBUGINFO_FOR := all
+ENABLE_SYMBOLS := TRUE
endif
endif
ifeq ($(gb_ENABLE_DBGUTIL),$(true))