From 3a99d545cefcbae415bda25e18317014049e1b9a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 26 Feb 2002 02:33:37 +0000 Subject: Patch from Miles Bader: All the -M* options should suppress linking (right now, only `-M' does). --- extra/gcc-uClibc/gcc-uClibc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extra') diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c index 0158b4ceb..48340472b 100644 --- a/extra/gcc-uClibc/gcc-uClibc.c +++ b/extra/gcc-uClibc/gcc-uClibc.c @@ -218,10 +218,10 @@ int main(int argc, char **argv) case 'E': /* preprocess only */ case 'r': /* partial-link */ case 'i': /* partial-link */ - case 'M': /* map file generation */ - if (argv[i][2] == 0) linking = 0; + case 'M': /* generate dependencies */ + linking = 0; break; - case 'l': /* map file generation */ + case 'l': /* library */ libraries[m++] = argv[i]; libraries[m] = '\0'; break; -- cgit v1.2.3