Skip to content

Commit 6d97d41

Browse files
authored
gltron: fix cross build (#367717)
2 parents 3b37d6d + 8048791 commit 6d97d41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/gl/gltron/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
3939
# The build fails, unless we disable the default -Wall -Werror
4040
configureFlags = [ "--disable-warn" ];
4141

42+
makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ];
43+
44+
env.SDL_CONFIG = lib.getExe' SDL.dev "sdl-config";
45+
4246
buildInputs = [
4347
SDL
4448
libGLU
@@ -50,6 +54,7 @@ stdenv.mkDerivation rec {
5054
SDL_sound
5155
];
5256

57+
strictDeps = true;
5358
enableParallelBuilding = true;
5459

5560
meta = {

0 commit comments

Comments
 (0)