[Libreoffice-commits] core.git: external/graphite external/hunspell external/mythes solenv/gbuild vcl/Executable_tdefilepicker.mk

Stephan Bergmann sbergman at redhat.com
Wed Jun 7 10:37:48 UTC 2017


 external/graphite/StaticLibrary_graphite.mk |    2 +-
 external/hunspell/StaticLibrary_hunspell.mk |    2 +-
 external/mythes/StaticLibrary_mythes.mk     |    2 +-
 solenv/gbuild/Executable.mk                 |    1 -
 solenv/gbuild/Library.mk                    |    1 -
 solenv/gbuild/LinkTarget.mk                 |    5 -----
 solenv/gbuild/StaticLibrary.mk              |    1 -
 vcl/Executable_tdefilepicker.mk             |    2 +-
 8 files changed, 4 insertions(+), 12 deletions(-)

New commits:
commit 26e7cb5ef4fa0df985214ef98622255cfdfbdd01
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 7 12:32:52 2017 +0200

    Remove gb_LinkTarget_add_generated_cxxobjects
    
    ...in favor of gb_LinkTarget_add_generated_exception_objects.  The former would
    have needed any flags to be passed in explicitly (but no call sites did), so
    e.g. StaticLibrary_graphite didn't have any debug information (when building
    with --enable-debug).  I guess there is no downside to having C++ exception
    support enabled in these places, and using _add_generated_cxxobjects instead was
    likely an oversight in the first place (at least in the case of
    external/graphite/StaticLibrary_graphite.mk, it was that way ever since
    1ceb47d96da9e7977c96241f49ad291ff0466970 "graphite: convert to gbuild", but for
    no apparent reason).
    
    Change-Id: I9986a6c5ec30a521095dbe5315e5ca649741a790

diff --git a/external/graphite/StaticLibrary_graphite.mk b/external/graphite/StaticLibrary_graphite.mk
index 4f645666197d..b0ec4cc50682 100644
--- a/external/graphite/StaticLibrary_graphite.mk
+++ b/external/graphite/StaticLibrary_graphite.mk
@@ -33,7 +33,7 @@ endif
 
 $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,graphite,cpp))
 
-$(eval $(call gb_StaticLibrary_add_generated_cxxobjects,graphite,\
+$(eval $(call gb_StaticLibrary_add_generated_exception_objects,graphite,\
 	UnpackedTarball/graphite/src/$(if $(filter GCC,$(COM)),direct,call)_machine \
 	UnpackedTarball/graphite/src/gr_char_info \
 	UnpackedTarball/graphite/src/gr_face \
diff --git a/external/hunspell/StaticLibrary_hunspell.mk b/external/hunspell/StaticLibrary_hunspell.mk
index d69e5a5a3adc..895d28e29968 100644
--- a/external/hunspell/StaticLibrary_hunspell.mk
+++ b/external/hunspell/StaticLibrary_hunspell.mk
@@ -20,7 +20,7 @@ $(eval $(call gb_StaticLibrary_add_defs,hunspell,\
 	-DOPENOFFICEORG \
 ))
 
-$(eval $(call gb_StaticLibrary_add_generated_cxxobjects,hunspell,\
+$(eval $(call gb_StaticLibrary_add_generated_exception_objects,hunspell,\
 	UnpackedTarball/hunspell/src/hunspell/affentry \
 	UnpackedTarball/hunspell/src/hunspell/affixmgr \
 	UnpackedTarball/hunspell/src/hunspell/csutil \
diff --git a/external/mythes/StaticLibrary_mythes.mk b/external/mythes/StaticLibrary_mythes.mk
index d955b6a025e7..34411479e63c 100644
--- a/external/mythes/StaticLibrary_mythes.mk
+++ b/external/mythes/StaticLibrary_mythes.mk
@@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_use_unpacked,mythes,mythes))
 
 $(eval $(call gb_StaticLibrary_set_warnings_not_errors,mythes))
 
-$(eval $(call gb_StaticLibrary_add_generated_cxxobjects,mythes,\
+$(eval $(call gb_StaticLibrary_add_generated_exception_objects,mythes,\
 	UnpackedTarball/mythes/mythes \
 ))
 
diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk
index afe4ddf51c47..4d0041eb7cf0 100644
--- a/solenv/gbuild/Executable.mk
+++ b/solenv/gbuild/Executable.mk
@@ -107,7 +107,6 @@ $(eval $(foreach method,\
 	add_scanners \
 	add_exception_objects \
 	add_generated_cobjects \
-	add_generated_cxxobjects \
 	add_generated_exception_objects \
 	add_cflags \
 	add_cxxflags \
diff --git a/solenv/gbuild/Library.mk b/solenv/gbuild/Library.mk
index 18640d6437d4..9f94b8d6fcad 100644
--- a/solenv/gbuild/Library.mk
+++ b/solenv/gbuild/Library.mk
@@ -182,7 +182,6 @@ $(eval $(foreach method,\
 	add_exception_objects \
 	add_x64_generated_exception_objects \
 	add_generated_cobjects \
-	add_generated_cxxobjects \
 	add_generated_exception_objects \
 	use_library_objects \
 	add_grammar \
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 5d192df299cb..4ef1bf954965 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -1346,11 +1346,6 @@ $(foreach obj,$(2),$(call gb_LinkTarget_add_generated_c_object,$(1),$(obj),$(3),
 $(foreach obj,$(2),$(eval $(call gb_GenCObject_get_target,$(obj)) : CXXOBJECT_X64 := YES))
 endef
 
-# call gb_LinkTarget_add_generated_cxxobjects,linktarget,sourcefiles,cxxflags,linktargetmakefilename
-define gb_LinkTarget_add_generated_cxxobjects
-$(foreach obj,$(2),$(call gb_LinkTarget_add_generated_cxx_object,$(1),$(obj),$(3)))
-endef
-
 # call gb_LinkTarget_add_generated_exception_object,linktarget,sourcefile,linktargetmakefilename,cxxflags
 define gb_LinkTarget_add_generated_exception_object
 $(call gb_LinkTarget_add_generated_cxx_object,$(1),$(2),$(gb_LinkTarget_EXCEPTIONFLAGS) $(call gb_LinkTarget__get_cxxflags,$(3)) $(4))
diff --git a/solenv/gbuild/StaticLibrary.mk b/solenv/gbuild/StaticLibrary.mk
index 849c0b51a5ad..10f45cd960c9 100644
--- a/solenv/gbuild/StaticLibrary.mk
+++ b/solenv/gbuild/StaticLibrary.mk
@@ -82,7 +82,6 @@ $(eval $(foreach method,\
 	add_x64_generated_exception_objects \
 	add_generated_cobjects \
 	add_x64_generated_cobjects \
-	add_generated_cxxobjects \
 	add_generated_exception_objects \
 	add_cflags \
 	add_cxxflags \
diff --git a/vcl/Executable_tdefilepicker.mk b/vcl/Executable_tdefilepicker.mk
index fcbf55f10797..c779059bed2b 100644
--- a/vcl/Executable_tdefilepicker.mk
+++ b/vcl/Executable_tdefilepicker.mk
@@ -37,7 +37,7 @@ $(eval $(call gb_Executable_add_exception_objects,tdefilepicker,\
 	vcl/unx/kde/fpicker/kdemodalityfilter \
 ))
 
-$(eval $(call gb_Executable_add_generated_cxxobjects,tdefilepicker,\
+$(eval $(call gb_Executable_add_generated_exception_objects,tdefilepicker,\
 	CustomTarget/vcl/unx/kde/fpicker/kdefilepicker.moc \
 ))
 


More information about the Libreoffice-commits mailing list