* 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
1 changed files with 7 additions and 0 deletions
|
@ -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