Skip to content

Commit f130ecd

Browse files
committedJul 17, 2017
coqPackages.compcert: Recent compcert supports 64-bit architectures
1 parent 8253fc2 commit f130ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎pkgs/development/compilers/compcert/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ stdenv.mkDerivation rec {
2222
configurePhase = ''
2323
substituteInPlace ./configure --replace '{toolprefix}gcc' '{toolprefix}cc'
2424
./configure -clightgen -prefix $out -toolprefix ${tools}/bin/ '' +
25-
(if stdenv.isDarwin then "ia32-macosx" else "ia32-linux");
25+
(if stdenv.isDarwin then "x86_64-macosx" else "x86_64-linux");
2626

2727
installTargets = "documentation install";
2828

2929
postInstall = ''
3030
mkdir -p $lib/share/doc/compcert
3131
mv doc/html $lib/share/doc/compcert/
3232
mkdir -p $lib/lib/coq/${coq.coq-version}/user-contrib/compcert/
33-
mv backend cfrontend common cparser driver flocq x86 x86_32 lib \
33+
mv backend cfrontend common cparser driver flocq x86 x86_64 lib \
3434
$lib/lib/coq/${coq.coq-version}/user-contrib/compcert/
3535
'';
3636

0 commit comments

Comments
 (0)
Please sign in to comment.