From ba6184e08d80c98a99211bdc258512ade57ff10b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 20 May 2009 17:05:08 +0000 Subject: [PATCH] Need to pass gcc -m64 on amd64 OSX --- compiler/main/DynFlags.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 3505bb6..e724f61 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -2282,6 +2282,8 @@ machdepCCOpts _dflags -- for "normal" programs, but it doesn't support register variable -- declarations. = ( [], ["-no-cpp-precomp"] ) +#elif x86_64_apple_darwin_TARGET + = ( ["-m64"], [] ) #else = ( [], [] ) #endif -- 1.7.10.4