On Tuesday, 21 April 2020 14:26:13 PDT coroberti . wrote:
> Hi,
> Is it enough to define:
> 
> QMAKE_CFLAGS -= -arch:AVX -arch:AVX2
> QMAKE_CXXFLAGS -=  -arch:AVX -arch:AVX2
> 
> to ensure that compilation by QtCreator with Qt-5.14-MSVC Windows
> will not compile with such optimization flags even if avx and avx2
> instructions have not been disabled in Qt-library itself?

Since those options aren't added to the CFLAGS or CXXFLAGS in the first place, 
by default what you're tryng to do is a no-op.

Why do you think there are AVX instructions in your binary? And how did you 
turn them on in the first place?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to