[PATCH] makedep: Remove an incorrect -b when creating cross import libraries

Martin Storsjo martin at martin.st
Sun Apr 22 16:38:16 CDT 2018


When building import libraries for cross building, we already pass
"-b $crosstarget" (two lines above this), and we shouldn't be passing
target_flags (which contains the flags for the architecture of the
wine build itself, not the mingw cross build.

This seems like a regression since 1c31b75e.

Signed-off-by: Martin Storsjo <martin at martin.st>
---
 tools/makedep.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/makedep.c b/tools/makedep.c
index c9ab24d..4fc8435 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -3480,7 +3480,6 @@ static void output_subdirs( struct makefile *make )
                     output( "\n" );
                     output( "\t%s -b %s -w -o $@", tools_path( make, "winebuild" ), crosstarget );
                     output_filename( "--implib" );
-                    output_filenames( target_flags );
                     output_filename( "--export" );
                     output_filename( spec_file );
                     output( "\n" );
-- 
2.7.4




More information about the wine-devel mailing list