From 643efa4730030b4db36e98f92e22a0e1c2ef81f7 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Tue, 29 Dec 2020 14:26:13 +0100 Subject: [PATCH] crosstool-ng: Add configureFlag to speed up one time build --- pkgs/crosstool-ng.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/crosstool-ng.nix b/pkgs/crosstool-ng.nix index 8762f9b..b52a56d 100644 --- a/pkgs/crosstool-ng.nix +++ b/pkgs/crosstool-ng.nix @@ -60,6 +60,11 @@ stdenv.mkDerivation rec { ] ++ lib.optional withWget wget ++ lib.optional withCurl curl; + configureFlags = [ + # "speeds up one-time build" + "--disable-dependency-tracking" + ]; + preConfigure = '' export INSTALL="${coreutils}/bin/install" export GREP="${gnugrep}/bin/grep"