makedep: Use -fno-builtin for CRT DLLs on PE targets.
Just like we do for other targets with cross compiler enabled. Fixes PE-only i686 build with llvm-mingw, which otherwise uses unexpected optimizations. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c523f4867
commit
63e6eaedee
|
@ -3004,6 +3004,8 @@ static void output_source_default( struct makefile *make, struct incl_file *sour
|
|||
{
|
||||
output_filenames( dll_flags );
|
||||
if (source->use_msvcrt) output_filenames( msvcrt_flags );
|
||||
if (!*dll_ext && make->module && is_crt_module( make->module ))
|
||||
output_filename( "-fno-builtin" );
|
||||
}
|
||||
output_filenames( extra_cflags );
|
||||
output_filenames( cpp_flags );
|
||||
|
|
Loading…
Reference in New Issue