OSDN Git Service

gcc/fortran:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 2010 11:37:34 +0000 (11:37 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:32:02 +0000 (14:32 +0900)
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

gcc/fortran/ChangeLog
gcc/fortran/gfortranspec.c

index 4ef8eb9..e90da6f 100644 (file)
@@ -1,3 +1,10 @@
+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.
index d628253..413da7b 100644 (file)
@@ -353,8 +353,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
 #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;