Fix up b84748121e777d
authorAustin Seipp <austin@well-typed.com>
Mon, 23 Jun 2014 06:31:15 +0000 (01:31 -0500)
committerAustin Seipp <austin@well-typed.com>
Mon, 23 Jun 2014 06:31:17 +0000 (01:31 -0500)
I forgot to amend this to my last commit.

Signed-off-by: Austin Seipp <austin@well-typed.com>
compiler/main/DriverPipeline.hs

index b90a821..0eae3bb 100644 (file)
@@ -1221,7 +1221,7 @@ runPhase (RealPhase (As with_cpp)) input_fn dflags
                        ++ (if platformArch (targetPlatform dflags) == ArchSPARC
                            then [SysTools.Option "-mcpu=v9"]
                            else [])
-                       ++ (if ccInfo == AppleClang51
+                       ++ (if any (ccInfo ==) [Clang, AppleClang, AppleClang51]
                             then [SysTools.Option "-Qunused-arguments"]
                             else [])
                        ++ [ SysTools.Option "-x"