Commit c41059bc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winebuild: Use find_clang_tool for ld and nm tools.

parent d86580b6
......@@ -273,9 +273,9 @@ struct strarray find_tool( const char *name, const char * const *names )
names++;
}
if (!file && names == alt_names + 1)
if (!file && strcmp( name, "as" )) /* llvm-as is not a gas replacement */
{
if (cc_command.count) file = find_clang_tool( cc_command, "lld-link" );
if (cc_command.count) file = find_clang_tool( cc_command, name );
if (!file && !(file = find_binary( "llvm", name )))
{
struct strarray clang = empty_strarray;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment