summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-11-23 07:11:05 +0100
committerDavid Tardon <dtardon@redhat.com>2012-11-23 09:22:22 +0100
commit26aae9238565de48324625315f2a44dba6f664d7 (patch)
treeb58373e7d77b21ceaeed267b10ef7ff2e3fe4507 /solenv
parent444dc2255a824d392f46fe00a2bac6b60bf2d227 (diff)
ignore warnings in generated scanners
Change-Id: I7c1e17ffba5b4e6d4f4229da8a93ac3db621253b
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/LinkTarget.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index e63892bcb274..f2a5cfa67603 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -948,11 +948,8 @@ 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_GenCxxObject_get_target,LexTarget/$(2)) : WARNINGS_NOT_ERRORS := $(true)
$(call gb_LinkTarget_get_clean_target,$(1)) : $(call gb_LexTarget_get_clean_target,$(2))
endef