Commit 63e6eaed authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7c523f48
......@@ -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 );
......
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