From: Ian Lynagh Date: Wed, 20 May 2009 17:05:08 +0000 (+0000) Subject: Need to pass gcc -m64 on amd64 OSX X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ba6184e08d80c98a99211bdc258512ade57ff10b;hp=2c77e092c3a6a5b936838afb7b338af70de2c689;p=ghc-hetmet.git Need to pass gcc -m64 on amd64 OSX --- 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