[Libreoffice-commits] .: solenv/gbuild
Robert Nagy
rnagy at kemper.freedesktop.org
Sun Jun 5 04:10:48 PDT 2011
solenv/gbuild/LinkTarget.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 015f9d81d9c07fd6da6124de0ce008658c13499c
Author: Robert Nagy <robert at openbsd.org>
Date: Sun Jun 5 12:15:41 2011 +0200
set gb_COMPILEROPTFLAGS in the correct place for cxx generated objects
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 3584fd3..f0e32cc 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -667,7 +667,7 @@ $(call gb_LinkTarget_get_clean_target,$(1)) : GENCXXOBJECTS += $(2)
$(call gb_LinkTarget_get_target,$(1)) : $(call gb_GenCxxObject_get_target,$(2))
$(call gb_GenCxxObject_get_source,$(2)) : | $(call gb_LinkTarget_get_headers_target,$(1))
-$(call gb_GenCxxObject_get_target,$(2)) : CXXFLAGS += $(3) $(gb_COMPILEROPTFLAGS)
+$(call gb_GenCxxObject_get_target,$(2)) : CXXFLAGS += $(3)
ifeq ($(gb_FULLDEPS),$(true))
$(call gb_LinkTarget_get_dep_target,$(1)) : GENCXXOBJECTS += $(2)
@@ -740,7 +740,7 @@ $(foreach obj,$(2),$(call gb_LinkTarget_add_generated_cxx_object,$(1),$(obj),$(3
endef
define gb_LinkTarget_add_generated_exception_object
-$(call gb_LinkTarget_add_generated_cxx_object,$(1),$(2),$(gb_LinkTarget_EXCEPTIONFLAGS))
+$(call gb_LinkTarget_add_generated_cxx_object,$(1),$(2),$(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_COMPILEROPTFLAGS))
endef
define gb_LinkTarget_add_generated_exception_objects
More information about the Libreoffice-commits
mailing list