projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0f0695
)
option was parsed twice
author
Matthias Braun
<matze@braunis.de>
Fri, 27 May 2011 09:03:09 +0000
(11:03 +0200)
committer
Matthias Braun
<matze@braunis.de>
Mon, 30 May 2011 12:23:05 +0000
(14:23 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
d39b27f
..
462258e
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1044,8
+1044,6
@@
int main(int argc, char **argv)
} else if (streq(option, "pedantic") ||
streq(option, "ansi")) {
fprintf(stderr, "warning: ignoring gcc option '%s'\n", arg);
- } else if (streq(option, "shared")) {
- add_flag(&ldflags_obst, "-shared");
} else if (strstart(option, "std=")) {
const char *const o = &option[4];
standard =