compcert: Permit building with Coq 8.7.2

This commit is contained in:
John Wiegley 2018-02-16 14:09:43 -08:00
parent 3b9874452d
commit d8720dd19a

View File

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
postPatch = ''
sed -i -e 's/8\.6\.1|8\.7\.0|8\.7\.1)/8.6.1|8.7.0|8.7.1|8.7.2)/' configure
'';
configurePhase = '' configurePhase = ''
substituteInPlace ./configure --replace '{toolprefix}gcc' '{toolprefix}cc' substituteInPlace ./configure --replace '{toolprefix}gcc' '{toolprefix}cc'
./configure -clightgen -prefix $out -toolprefix ${tools}/bin/ '' + ./configure -clightgen -prefix $out -toolprefix ${tools}/bin/ '' +