ispc: fix build

This commit is contained in:
Pascal Wittmann
2016-03-24 18:12:49 +01:00
parent 5d6a4a6fa9
commit 311ddcbd7a
2 changed files with 27 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "15qi22qvmlx3jrhrf3rwl0y77v66prpan6qb66a55dw3pw2d4jvn";
};
enableParallelBuilding = true;
enableParallelBuilding = false;
doCheck = true;
@@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
clang
];
patchPhase = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
# https://github.com/ispc/ispc/pull/1190
patches = [ ./gcc5.patch ];
postPatch = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
installPhase = ''
mkdir -p $out/bin