diff options
author | Ian Lynagh <igloo@earth.li> | 2009-05-20 17:05:08 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-05-20 17:05:08 +0000 |
commit | ba6184e08d80c98a99211bdc258512ade57ff10b (patch) | |
tree | 6ce5faa58545008ea61ed039453e5ef4edea7bc8 /compiler | |
parent | 2c77e092c3a6a5b936838afb7b338af70de2c689 (diff) | |
download | haskell-ba6184e08d80c98a99211bdc258512ade57ff10b.tar.gz |
Need to pass gcc -m64 on amd64 OSX
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main/DynFlags.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 3505bb647a..e724f61cc0 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 |