Assuming the flags and compiler versions match, as well as storage media, I'd look at cpu schedulers etc next. Could also be you didn't give make a jobs amount, and they have adjusted defaults. Many possible things.
Look at top and /proc/cpuinfo when a compile is in progress, are you getting all cores used at the full speed.