[Libreoffice-commits] core.git: external/cppunit

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 7 13:37:13 UTC 2020


 external/cppunit/ExternalProject_cppunit.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1fc2e731d625611e41b6508d698f754a481ef770
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 7 10:54:35 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Aug 7 15:36:25 2020 +0200

    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 at redhat.com>

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
 


More information about the Libreoffice-commits mailing list