mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
* Add --disable-dependency-tracking to the configure flags if
possible. This should speed up builds a bit. (Suggested by Ludovic Courtès.) svn path=/nixpkgs/branches/stdenv-updates/; revision=10662
This commit is contained in:
parent
5f45fb3ae9
commit
908d8286ce
|
@ -609,6 +609,13 @@ configureW() {
|
|||
configureFlags="${prefixKey:---prefix=}$prefix $configureFlags"
|
||||
fi
|
||||
|
||||
# Add --disable-dependency-tracking to speed up some builds.
|
||||
if test -z "$dontAddDisableDepTrack"; then
|
||||
if grep -q dependency-tracking $configureScript; then
|
||||
configureFlags="--disable-dependency-tracking ${prefixKey:---prefix=}$prefix $configureFlags"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "configure flags: $configureFlags ${configureFlagsArray[@]}"
|
||||
$configureScript $configureFlags"${configureFlagsArray[@]}" || fail
|
||||
|
||||
|
|
Loading…
Reference in a new issue