Skip to content

Commit

Permalink
Disable large address space in GHC iOS X compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
3noch authored and cstrahan committed Mar 2, 2017
1 parent 49bdf98 commit 7d356ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/compilers/ghc/head.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, bootPkgs, perl, ncurses, libiconv, binutils, coreutils
{ stdenv, lib, fetchgit, bootPkgs, perl, ncurses, libiconv, binutils, coreutils
, autoconf, automake, happy, alex, python3, buildPlatform, targetPlatform
, selfPkgs, cross ? null

Expand Down Expand Up @@ -105,7 +105,7 @@ in stdenv.mkDerivation (rec {
"RANLIB=${stdenv.binutilsCross}/bin/${cross.config}-ranlib"
"--target=${cross.config}"
"--enable-bootstrap-with-devel-snapshot"
];
] ++ (lib.optional ("${cross.config}" == "aarch64-apple-darwin14") "--disable-large-address-space");

buildInputs = commonBuildInputs ++ [ stdenv.ccCross stdenv.binutilsCross ];

Expand Down

0 comments on commit 7d356ff

Please sign in to comment.