diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-01 12:30:20 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-01 12:30:20 -0500 |
commit | 52cb56076e678c21f514f99dd0306e682cc33449 (patch) | |
tree | ba5ef2065cf03099ec19550f4d1b9766e55221ad | |
parent | d04fb45caa46db829d21a7f9b96878655ce0f479 (diff) |
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
-rw-r--r-- | solenv/gbuild/LinkTarget.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index 269a06ddb485..cacafd2c0e4f 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 |