haskell.compiler.ghc865Binary: correct useLLVM condition
GHC has a native backend for POWER and SPARC. This is relevant to 8.6.5 binary in the case of POWER where we actually have a bindist and don't need to include LLVM.
This commit is contained in:
parent
ea7faf9d9e
commit
bd151aad5b
@ -10,7 +10,9 @@
|
||||
assert stdenv.targetPlatform == stdenv.hostPlatform;
|
||||
|
||||
let
|
||||
useLLVM = !stdenv.targetPlatform.isx86;
|
||||
useLLVM = !(stdenv.targetPlatform.isx86
|
||||
|| stdenv.targetPlatform.isPower
|
||||
|| stdenv.targetPlatform.isSparc);
|
||||
|
||||
useNcurses6 = stdenv.hostPlatform.system == "x86_64-linux"
|
||||
|| (with stdenv.hostPlatform; isPower64 && isLittleEndian);
|
||||
|
Loading…
Reference in New Issue
Block a user