Unverified Commit 6d97d419 authored by Colin's avatar Colin Committed by GitHub
Browse files

gltron: fix cross build (#367717)

parents 3b37d6da 80487913
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
@@ -50,6 +54,7 @@ stdenv.mkDerivation rec {
    SDL_sound
  ];

  strictDeps = true;
  enableParallelBuilding = true;

  meta = {