[Libreoffice-commits] .: solenv/gbuild

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Tue May 1 10:30:29 PDT 2012


 solenv/gbuild/LinkTarget.mk |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 52cb56076e678c21f514f99dd0306e682cc33449
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue May 1 12:30:20 2012 -0500

    Wno-error hack is really for MacOSX only...
    
    This need to be fixed in a more elegant way, by allowing per-add flags
    for all kind of target... so the hack will be pushed in
    the 'user' .mk files rather than directly in gbuild
    
    Change-Id: I8b1bfd52d86253b1a2da4376702d6b788cad71b9

diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 269a06d..cacafd2 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -910,7 +910,11 @@ endef
 # gb_LinkTarget_add_scanner(<component>,<scanner file>)
 define gb_LinkTarget_add_scanner
 $(call gb_LexTarget_LexTarget,$(2))
+ifeq ($(OS),MACOSX)
 $(call gb_LinkTarget_add_generated_exception_object,$(1),LexTarget/$(2),$(3),-Wno-error)
+else
+$(call gb_LinkTarget_add_generated_exception_object,$(1),LexTarget/$(2),$(3))
+endif
 $(call gb_LinkTarget_get_clean_target,$(1)) : $(call gb_LexTarget_get_clean_target,$(2))
 
 endef


More information about the Libreoffice-commits mailing list