summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-26 02:33:37 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-26 02:33:37 +0000
commit3a99d545cefcbae415bda25e18317014049e1b9a (patch)
treec0a0f6ee9412b630b6c262443e2e22147fe824bb
parent41cb95ae3f21e21a3c63a8e2f9fd1b92b70852fa (diff)
Patch from Miles Bader: All the -M* options should
suppress linking (right now, only `-M' does).
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c6
1 files changed, 3 insertions, 3 deletions
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;