Skip to content

Commit

Permalink
stdenv: patch autoconf script for riscv in stage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
oxalica committed Nov 25, 2021
1 parent fc3ea54 commit 8cf96b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/stdenv/linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ in
};
};
};

# `libtool` comes with obsolete config.sub/config.guess that don't recognize Risc-V.
extraNativeBuildInputs =
lib.optional (localSystem.isRiscV) prevStage.updateAutotoolsGnuConfigScriptsHook;
})


Expand Down

0 comments on commit 8cf96b9

Please sign in to comment.