fcc: fix bug introduced with multiple -c support
authorAlan Cox <alan@linux.intel.com>
Sat, 3 Jan 2015 00:12:30 +0000 (00:12 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 3 Jan 2015 00:12:30 +0000 (00:12 +0000)
Library/tools/fcc.c

index 351007e..4e516a3 100644 (file)
@@ -451,7 +451,10 @@ int main(int argc, const char *argv[]) {
       srchead = srchead->next;
       argp = 0;
     }
-  }
+  } else {
+      build_command();
+      ret = do_command();
+  }  
   if (mode != MODE_LINK || ret)
     exit(ret);
   argp = 0;