summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-01-03 15:36:20 +0100
committerMichael Stahl <mstahl@redhat.com>2013-01-03 16:02:13 +0100
commit3f27da0a672d0eac84b2a7b411228bc667c4a2cf (patch)
tree521b038bae6d83590465b049f26bf84307180ebc /solenv
parent1fa1c73f6801b3cea6cc01d4ea815929ef213103 (diff)
gbuild: replace all use of PRODUCT with ENABLE_DBGUTIL
Also fix the wrong check in cppunit/ExternalProject_cppunit.mk which caused cppunit to always be built without -D_GLIBCXX_DEBUG. Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/CliLibrary.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/CliLibrary.mk b/solenv/gbuild/CliLibrary.mk
index 6302cf462d39..2513494b66e3 100644
--- a/solenv/gbuild/CliLibrary.mk
+++ b/solenv/gbuild/CliLibrary.mk
@@ -21,7 +21,7 @@ gb_CliLibraryTarget_CSCFLAGS_DEBUG := \
-define:TRACE \
ifeq ($(strip $(debug)),)
-ifeq ($(strip $(PRODUCT)),)
+ifeq ($(strip $(ENABLE_DBGUTIL)),TRUE)
gb_CliLibraryTarget__get_csflags = $(gb_CliLibraryTarget_CSCFLAGS) $(gb_CliLibraryTarget_CSCFLAGS_DEBUG)
else
gb_CliLibraryTarget__get_csflags = $(gb_CliLibraryTarget_CSCFLAGS) -o