summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-08-07 10:54:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-08-07 15:36:25 +0200
commit1fc2e731d625611e41b6508d698f754a481ef770 (patch)
treeae481ddfe2a2b45d3cd4445b15dd61ab497decda /external
parent97a75fa7cc94392f085e592bc6be42c4a0ad6a42 (diff)
external/cppunit: -g based on --enable-symbols, not --enable-debug
Change-Id: I35ceb0069082cb66f1bc09591baace594f0dc030 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100297 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external')
-rw-r--r--external/cppunit/ExternalProject_cppunit.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/cppunit/ExternalProject_cppunit.mk b/external/cppunit/ExternalProject_cppunit.mk
index c0d1380645f7..9b4a69c627e1 100644
--- a/external/cppunit/ExternalProject_cppunit.mk
+++ b/external/cppunit/ExternalProject_cppunit.mk
@@ -36,7 +36,7 @@ cppunit_CXXFLAGS+=-D_GLIBCXX_DEBUG
endif
endif
-ifneq (,$(debug))
+ifneq (,$(call gb_LinkTarget__symbols_enabled,cppunit))
cppunit_CXXFLAGS+=-g
endif