Note:
Without using the '--cpu' configure option the configure script will try to
guess for what architecture the code should be optimized.
The problem was noticed while trying to build an i686 target on x86-64 build
host, which utterly failed without properly specifying the target architecture.