diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-18 11:51:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-18 11:51:38 +0200 |
commit | 2228203a8211dea1c8addb98298096a094ec788b (patch) | |
tree | 41468a262738aba186a29b39cf690263424f86b8 /include | |
parent | 2fec2ab3adc7686df3548afd86939d28d032dfcf (diff) |
Don't run CompilerTest_compilerplugins_clang with COMPILER_PLUGIN_TOOL=...
When COMPILER_PLUGIN_TOOL is set, solenv/gbuild/LinkTarget.mk uses the (plaform-
generic) gb_*__tool_command which don't know about the COMPILER_TEST flag (as
gb_CObject__command_pattern in solenv/gbuild/platform/com_GCC_class.mk does), so
a top-level Clang
make COMPILER_PLUGIN_TOOL=...
will generate spurious warnings from CompilerTest_compilerplugins_clang's
compilations done without the -Xclang -verify switch. This solution is a bit
hacky (e.g., it would be better to handle this more centrally in
solenv/gbuild/CompilerTest.mk), but effective.
Change-Id: I58e9a76207065d9f6050a1ace6fc85c5a26882f8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions