diff options
author | Austin Seipp <austin@well-typed.com> | 2014-06-23 01:31:15 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-06-23 01:31:17 -0500 |
commit | 95f95ed6281adf9616d87b97470d68fb54c0b7f3 (patch) | |
tree | 9ab85201b6efe2b91fca77636c284ee3e48bba71 /compiler/main/DriverPipeline.hs | |
parent | b84748121e777d098198f2583d11a9424c1b1650 (diff) | |
download | haskell-95f95ed6281adf9616d87b97470d68fb54c0b7f3.tar.gz |
Fix up b84748121e777d
I forgot to amend this to my last commit.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'compiler/main/DriverPipeline.hs')
-rw-r--r-- | compiler/main/DriverPipeline.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index b90a8213e8..0eae3bbb21 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -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" |