Skip to content

Commit

Permalink
gltron: fix cross build
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed Dec 29, 2024
1 parent 297e5bb commit 8048791
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 8048791

Please sign in to comment.