compcert: adding clightgen to the build

clightgen is a tool for coverting C to C-light.
This patch enable the build of this tool which is added to $out/bin/.
This commit is contained in:
Russell O'Connor 2017-01-31 19:03:12 -05:00 committed by vbgl
parent f96c3f1844
commit 8ba82f28bc

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
configurePhase = ''
substituteInPlace ./configure --replace pl2 pl3
substituteInPlace ./configure --replace '{toolprefix}gcc' '{toolprefix}cc'
./configure -prefix $out -toolprefix ${tools}/bin/ '' +
./configure -clightgen -prefix $out -toolprefix ${tools}/bin/ '' +
(if stdenv.isDarwin then "ia32-macosx" else "ia32-linux");
installTargets = "documentation install";