lol

Merge pull request #305972 from viraptor/imagelol-darwin

imagelol: fix darwin build

authored by

Stanisław Pitucha and committed by
GitHub
19196d6f 750c44ec

+1 -2
+1 -2
pkgs/tools/compression/imagelol/default.nix
··· 30 30 }) 31 31 ]; 32 32 33 - 34 33 # fix for case-sensitive filesystems 35 34 # https://github.com/MCredstoner2004/ImageLOL/issues/1 36 35 postPatch = '' ··· 46 45 cp ./ImageLOL $out/bin 47 46 ''; 48 47 49 - cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DPNG_ARM_NEON=off"; 48 + cmakeFlags = [ (lib.cmakeFeature "CMAKE_C_FLAGS" "-std=gnu90") ] ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DPNG_ARM_NEON=off"; 50 49 51 50 meta = with lib; { 52 51 homepage = "https://github.com/MCredstoner2004/ImageLOL";