summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-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;