Fix ccc handling of -mmacosx-version-min.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56956 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc b/utils/ccc
index 1745005..a826b00 100755
--- a/utils/ccc
+++ b/utils/ccc
@@ -237,11 +237,13 @@
             compile_opts.append(arg)
         if arg[:5] in ['-std=']:
             compile_opts.append(arg)
+        if argkey in ('-std', '-mmacosx-version-min'):
+            compile_opts.append(arg)
 
         # Options with one argument that should pass through to compiler
-        if argkey in [ '-include', '-idirafter', '-iprefix',
+        if arg in [ '-include', '-idirafter', '-iprefix',
                        '-iquote', '-isystem', '-iwithprefix',
-                       '-iwithprefixbefore', '-mmacosx-version-min']:
+                       '-iwithprefixbefore']:
             compile_opts.append(arg)
             compile_opts.append(args[i+1])
             i += 1