projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c77e09
)
Need to pass gcc -m64 on amd64 OSX
author
Ian Lynagh
<igloo@earth.li>
Wed, 20 May 2009 17:05:08 +0000
(17:05 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 20 May 2009 17:05:08 +0000
(17:05 +0000)
compiler/main/DynFlags.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
3505bb6
..
e724f61
100644
(file)
--- 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