From 126c65581977238a03d2683d4097184a021b2d07 Mon Sep 17 00:00:00 2001 From: "Dimitrie O. Paun" Date: Fri, 3 Jan 2003 22:31:56 +0000 Subject: [PATCH] Properly handle the -M switch. --- tools/winegcc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/winegcc.c b/tools/winegcc.c index cd68fa8f7ba..d58a242ac4d 100644 --- a/tools/winegcc.c +++ b/tools/winegcc.c @@ -58,9 +58,11 @@ int main(int argc, char **argv) case 'c': /* compile or assemble */ case 'S': /* generate assembler code */ case 'E': /* preprocess only */ - case 'M': /* map file generation */ if (argv[i][2] == 0) linking = 0; break; + case 'M': /* map file generation */ + linking = 0; + break; case 'm': if (strcmp("-mno-cygwin", argv[i]) == 0) use_msvcrt = 1; -- 2.11.4.GIT