diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-17 11:10:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-17 11:10:13 +0100 |
commit | 439a3c036b1f40b3b3a7600e5a64879c22074771 (patch) | |
tree | 652ec055c09b46c27d619397e6bc54c09f184aa7 /solenv/gbuild/LinkTarget.mk | |
parent | 401d07f31fde6992125b498fc2ac798a6523ca26 (diff) |
Have a specific TARGETTYPE for CompilerTest after all
...instead of leaving it empty. (645583dfd374c8b02f3c0eeba6233a0bb5884d68 "New
compilerplugins/clang unit tests": "Checking the input files is implicitly
phony, as the compilation step doesn't generate any object files, and the link
step does nothing because there is no gb_LinkTarget_set_targettype for
CompilerTest.") In preparation for using compilerplugins/clang with clang-cl on
Windows.
Change-Id: Ica4f16a4b249537f78ce21fcbe7c4afea8214821
Diffstat (limited to 'solenv/gbuild/LinkTarget.mk')
-rw-r--r-- | solenv/gbuild/LinkTarget.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index f54ace62c1d8..eb9ee12039df 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -488,7 +488,8 @@ define gb_LinkTarget__command_impl $(call gb_LinkTarget__command,$(1),$(2)),\ mkdir -p $(dir $(1)) && echo invalid - merged lib > $(1) \ $(if $(SOVERSIONSCRIPT),&& echo invalid - merged lib > $(WORKDIR)/LinkTarget/$(2))),\ - $(call gb_LinkTarget__command,$(1),$(2))) + $(if $(filter-out CompilerTest,$(TARGETTYPE)), \ + $(call gb_LinkTarget__command,$(1),$(2)))) $(call gb_LinkTarget__command_objectlist,$(WORKDIR)/LinkTarget/$(2).objectlist) endef |