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 23, 2024
1 parent 297e5bb commit 563efea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 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,12 @@ stdenv.mkDerivation rec {
# The build fails, unless we disable the default -Wall -Werror
configureFlags = [ "--disable-warn" ];

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

nativeBuildInputs = [
SDL # sdl-config
];

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

strictDeps = true;
enableParallelBuilding = true;

meta = {
Expand Down

0 comments on commit 563efea

Please sign in to comment.