Re: [PATCH] winebuild: Use Clang to assemble if found. (try 5)

2013-01-28 Thread Alexandre Julliard
Charles Davis writes: > Try 5: Don't use strstr(3). > > The configure script invokes the C compiler to figure out if .cfi > pseudo-ops are supported, on the assumption that it will invoke the > system assembler. Winebuild, on the other hand, invokes the system > assembler directly. This caused a

Re: [PATCH] winebuild: Use Clang to assemble if found. (try 4)

2013-01-25 Thread Alexandre Julliard
Charles Davis writes: > @@ -346,13 +352,26 @@ struct strarray *get_as_command(void) > struct strarray *args = strarray_init(); > > if (!as_command) > +as_command = find_tool( "clang", NULL ); > + > +if (!as_command) > { > static const char * const commands[]

Re: [PATCH] winebuild: Use Clang to assemble if found.

2013-01-21 Thread Alexandre Julliard
Charles Davis writes: > @@ -319,26 +341,27 @@ char *find_tool( const char *name, const char * const > *names ) > names = alt_names; > } > > -while (*names) > +/* If we have a target triple, we really need to try the list of names > + * twice: once with the triple, and