2010-04-13 Iain Sandoe <iains@gcc.gnu.org>
PR bootstrap/31400
* gfortranspec.c (lookup_option): Check for -static and return
OPTION_static.
(lang_specific_driver): Break when OPTION_static is discovered.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158262
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-04-13 Iain Sandoe <iains@gcc.gnu.org>
+
+ PR bootstrap/31400
+ * gfortranspec.c (lookup_option): Check for -static and return
+ OPTION_static.
+ (lang_specific_driver): Break when OPTION_static is discovered.
+
2010-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* array.c (extract_element): Restore function from trunk.
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;