curaengine_stable: fixup build on i686

This commit is contained in:
Enno Richter 2021-03-05 12:52:33 +01:00
parent 44c5606792
commit 4eb45c35da

View file

@ -12,7 +12,9 @@ stdenv.mkDerivation {
};
postPatch = ''
sed -i 's,--static,,g' Makefile
substituteInPlace Makefile --replace "--static" ""
'' + lib.optionalString stdenv.isi686 ''
substituteInPlace Makefile --replace "-flto" ""
'';
installPhase = ''