OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cb95a
)
Patch from Miles Bader: All the -M* options should
author
Eric Andersen
<andersen@codepoet.org>
Tue, 26 Feb 2002 02:33:37 +0000
(
02:33
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 26 Feb 2002 02:33:37 +0000
(
02:33
-0000)
suppress linking (right now, only `-M' does).
extra/gcc-uClibc/gcc-uClibc.c
patch
|
blob
|
history
diff --git
a/extra/gcc-uClibc/gcc-uClibc.c
b/extra/gcc-uClibc/gcc-uClibc.c
index
0158b4c
..
4834047
100644
(file)
--- 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;