When testing and fiddling with different settings for bitcoin-qt, I have to build bitcoin-qt from scratch from time to time. I am using Ubuntu. Since this is time consuming, I'm wondering what kind of configuration to use so that bitcoin-qt builds as fast as possible. I only need the simplest qt application - no tests, benchmarks, wallet support, etc.
This is what I have so far:
./configure --disable-tests --disable-bench --disable-wallet --disable-gui-tests --disable-dependency-tracking --disable-maintainer-mode
Furthermore, what settings are used to build bitcoin-qt releases for end users?