mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03: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 New Issue
Block a user