opt = OPTION_syntax_only;
else if (!strcmp (text, "-static-libgfortran"))
opt = OPTION_static_libgfortran;
+ else if (!strcmp (text, "-static"))
+ opt = OPTION_static;
else if (!strcmp (text, "-fversion")) /* Really --version!! */
opt = OPTION_version;
else if (!strcmp (text, "-Xlinker") || !strcmp (text, "-specs"))
#ifdef HAVE_LD_STATIC_DYNAMIC
static_linking = 1;
#endif
- /* Fall through, count OPTION_static as an item included in
- the rewritten command line. */
+ break;
case OPTION_l:
++n_infiles;