[project @ 2005-04-22 21:54:37 by simonmar]
authorsimonmar <unknown>
Fri, 22 Apr 2005 21:56:48 +0000 (21:56 +0000)
committersimonmar <unknown>
Fri, 22 Apr 2005 21:56:48 +0000 (21:56 +0000)
enable splitting on x86_64

ghc/compiler/main/DynFlags.hs
mk/config.mk.in

index c3324ad..09932b6 100644 (file)
@@ -1278,6 +1278,7 @@ picCCOpts dflags
 can_split :: Bool
 can_split =  
 #if    defined(i386_TARGET_ARCH)     \
+    || defined(x86_64_TARGET_ARCH)   \
     || defined(alpha_TARGET_ARCH)    \
     || defined(hppa_TARGET_ARCH)     \
     || defined(m68k_TARGET_ARCH)     \
index 317fc93..b10d403 100644 (file)
@@ -365,9 +365,6 @@ endif
 ifeq "$(TargetArch_CPP)" "ia64"
 SplitObjs=NO
 endif
-ifeq "$(TargetArch_CPP)" "x86_64"
-SplitObjs=NO
-endif
 
 # ----------------------------------------------------------------------------
 # Options for GHC's RTS