I've been testing Rex's build of Qt 4.8 (and KDE 4.10) on a CentOS 6 VM.
When I tried to build QtCreator, I found that the gcc arguments were
I tried to see where 'atom' option was coming from but it wasn't from
QtCreator sources. I created a small Qt test project and found that the
Makefile generated after running qmake-qt4 has mtune=atom in the
compiler options. The sample project and the makefile is attached.
The VM has Core i5 CPU (2 cores; the host has 4 cores). I'm attaching
/proc/cpuinfo of the VM.
I'm also attaching the output of "g++ -Q -v" when run on a C++ source
file (that contains just an empty main function) on the VM. That output
says that the options were march=i686 & mtune=generic.
Can anybody tell me why 'mtune=atom' is generated by qmake?