Skip to content

Commit

Permalink
gltron: fix cross build (#367717)
Browse files Browse the repository at this point in the history
  • Loading branch information
uninsane authored Dec 30, 2024
2 parents 3b37d6d + 8048791 commit 6d97d41
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/gl/gltron/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
# The build fails, unless we disable the default -Wall -Werror
configureFlags = [ "--disable-warn" ];

makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ];

env.SDL_CONFIG = lib.getExe' SDL.dev "sdl-config";

buildInputs = [
SDL
libGLU
Expand All @@ -50,6 +54,7 @@ stdenv.mkDerivation rec {
SDL_sound
];

strictDeps = true;
enableParallelBuilding = true;

meta = {
Expand Down

0 comments on commit 6d97d41

Please sign in to comment.