[Development] QTBUG-30440: restricting the SIMD files

Koehne Kai Kai.Koehne at digia.com
Fri Aug 16 13:53:45 CEST 2013


> -----Original Message-----
> From: development-bounces+kai.koehne=digia.com at qt-project.org
> [...]
> But I don't think we should raise that at the Qt Project level. It's a distribution
> choice. And as I said, the distro engines probably already set the necessary
> CFLAGS and CXXFLAGS when building to their minima, and our buildsystem
> will pick them up.
>
> We should do the same for our binaries, though: set the minimum to
> something from the past decade.
>
> I recommend:
> 	CFLAGS (x86) = -march=i686 -mtune=core2 -msse2 -mfpmath=sse
> 	CFLAGS (x86-64) = -mtune=core2
> 	LFLAGS = -Wl,-O1 -Wl,--as-needed -Wl,-z,relro
> 
> For MSVC, set CFLAGS on x86 to -arch:SSE2.
>

I'm not sure I understand. Do you suggest to update the default mkspec's for e.g. linux-g++ in qtbase? Or do you suggest that we compile our binary installers with CLAGS set?

Regards

Kai
 



More information about the Development mailing list