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

New commits:
commit 1fc2e731d625611e41b6508d698f754a481ef770
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Aug 7 10:54:35 2020 +0200
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to