rgbds: 0.5.1 -> 0.5.2
* rgbds: 0.5.1 -> 0.5.2 (#149232) * rgbds: fix build on Darwin by disabling LTO Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
70f42a33cb
commit
ca485f4220
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rgbds";
|
pname = "rgbds";
|
||||||
version = "0.5.1";
|
version = "0.5.2";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gbdev";
|
owner = "gbdev";
|
||||||
repo = "rgbds";
|
repo = "rgbds";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "11b1hg2m2f60q5622rb0nxhrzzylsxjx0c8inbxifi6lvmj9ak4x";
|
sha256 = "sha256-/GjxdB3Nt+XuKKQWjU12mS91U4FFoeP+9t0L+HsB/o8=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ bison flex pkg-config libpng ];
|
nativeBuildInputs = [ bison flex pkg-config ];
|
||||||
installFlags = [ "PREFIX=\${out}" ];
|
buildInputs = [ libpng ];
|
||||||
|
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-fno-lto";
|
||||||
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://rgbds.gbdev.io/";
|
homepage = "https://rgbds.gbdev.io/";
|
||||||
|
|
Loading…
Reference in a new issue