imagelol: fix darwin build
Set older standard, otherwise clang's default fails to compile it.
This commit is contained in:
parent
8e54038847
commit
f730844b29
|
@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
|
||||
# fix for case-sensitive filesystems
|
||||
# https://github.com/MCredstoner2004/ImageLOL/issues/1
|
||||
postPatch = ''
|
||||
|
@ -46,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||
cp ./ImageLOL $out/bin
|
||||
'';
|
||||
|
||||
cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DPNG_ARM_NEON=off";
|
||||
cmakeFlags = [ (lib.cmakeFeature "CMAKE_C_FLAGS" "-std=gnu90") ] ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DPNG_ARM_NEON=off";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/MCredstoner2004/ImageLOL";
|
||||
|
|
Loading…
Reference in New Issue