Haskell Platform 2014.2.0.0 update OBS-URL: https://build.opensuse.org/request/show/259991 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=154
15 lines
909 B
Diff
15 lines
909 B
Diff
Index: ghc-7.8.2/compiler/llvmGen/LlvmCodeGen/Ppr.hs
|
|
===================================================================
|
|
--- ghc-7.8.2.orig/compiler/llvmGen/LlvmCodeGen/Ppr.hs
|
|
+++ ghc-7.8.2/compiler/llvmGen/LlvmCodeGen/Ppr.hs
|
|
@@ -64,6 +64,9 @@ moduleLayout = sdocWithPlatform $ \platf
|
|
Platform { platformArch = ArchX86, platformOS = OSiOS } ->
|
|
text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32\""
|
|
$+$ text "target triple = \"i386-apple-darwin11\""
|
|
+ Platform { platformArch = ArchPPC_64 , platformOS = OSLinux } ->
|
|
+ text "target datalayout = \"E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64\""
|
|
+ $+$ text "target triple = \"powerpc64-unknown-linux-gnu\""
|
|
_ ->
|
|
-- FIX: Other targets
|
|
empty
|