Somehow the -fgnu-runtime option itself got lost in all that shuffling.
Restore it.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134459 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index d4d41d2..a9f294f 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -1772,10 +1772,12 @@
     bool NeXTRuntimeIsDefault
       = (IsRewriter || getToolChain().getTriple().isOSDarwin());
     if (Args.hasFlag(options::OPT_fnext_runtime, options::OPT_fgnu_runtime,
-                     NeXTRuntimeIsDefault))
+                     NeXTRuntimeIsDefault)) {
       objCRuntime.setKind(ObjCRuntime::NeXT);
-    else
+    } else {
+      CmdArgs.push_back("-fgnu-runtime");
       objCRuntime.setKind(ObjCRuntime::GNU);
+    }
     getToolChain().configureObjCRuntime(objCRuntime);
     if (objCRuntime.HasARC)
       CmdArgs.push_back("-fobjc-runtime-has-arc");