Jacek Caban : makedep: Build implib cross object files with -fno-builtin.

Alexandre Julliard julliard at winehq.org
Mon Dec 9 16:57:38 CST 2019


Module: wine
Branch: master
Commit: 55f803c81bb61f7a927d4803687632d7be112e14
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=55f803c81bb61f7a927d4803687632d7be112e14

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Dec  6 14:48:04 2019 +0100

makedep: Build implib cross object files with -fno-builtin.

We want to be specific about used function and not want optimizations to
interfere.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/makedep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/makedep.c b/tools/makedep.c
index d0e963f759..825c83aed4 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -3093,6 +3093,7 @@ static void output_source_default( struct makefile *make, struct incl_file *sour
         output( "\t$(CROSSCC) -c -o $@ %s", source->filename );
         output_filenames( defines );
         output_filenames( extra_cross_cflags );
+        if (source->file->flags & FLAG_C_IMPLIB) output_filename( "-fno-builtin" );
         output_filenames( cpp_flags );
         output_filename( "$(CROSSCFLAGS)" );
         output( "\n" );




More information about the wine-cvs mailing list