Merge pull request #115181 from elohmeier/curaengine_stable-i686fix

curaengine_stable: fixup build on i686
This commit is contained in:
Sandro 2021-03-20 20:09:35 +01:00 committed by GitHub
commit 301460c388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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 = ''