option was parsed twice
authorMatthias Braun <matze@braunis.de>
Fri, 27 May 2011 09:03:09 +0000 (11:03 +0200)
committerMatthias Braun <matze@braunis.de>
Mon, 30 May 2011 12:23:05 +0000 (14:23 +0200)
main.c

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 =