From 1fc2e731d625611e41b6508d698f754a481ef770 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 7 Aug 2020 10:54:35 +0200 Subject: 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 --- external/cppunit/ExternalProject_cppunit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external') 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 -- cgit v1.2.3