Merge pull request #305874 from siraben/fix-snow

snow: fix build
This commit is contained in:
Weijia Wang 2024-04-22 05:09:04 +02:00 committed by GitHub
commit 20e02ff225
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "0r9q45y55z4i0askkxmxrx0jr1620ypd870vz0hx2a6n9skimdy0";
};
makeFlags = [ "CFLAGS=-O2" ];
preBuild = ''
makeFlagsArray+=(CFLAGS="-O2 -std=c89")
'';
installPhase = ''
install -Dm755 snow -t $out/bin