diff options
author | Enno Richter <enno@nerdworks.de> | 2021-03-05 12:52:33 +0100 |
---|---|---|
committer | Enno Richter <enno@nerdworks.de> | 2021-03-10 11:12:35 +0100 |
commit | 4eb45c35daaf1ee5ada24a96bf2e206dbd5026a8 (patch) | |
tree | a1dc7ed046f8b82bb09dcf4a1c31f1a1f4834309 /pkgs/applications/misc/curaengine | |
parent | 44c56067920f64314fa49889321b852175ee13a1 (diff) |
curaengine_stable: fixup build on i686
Diffstat (limited to 'pkgs/applications/misc/curaengine')
-rw-r--r-- | pkgs/applications/misc/curaengine/stable.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/curaengine/stable.nix b/pkgs/applications/misc/curaengine/stable.nix index 23041c2fe37eb..148553da16212 100644 --- a/pkgs/applications/misc/curaengine/stable.nix +++ b/pkgs/applications/misc/curaengine/stable.nix @@ -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 = '' |