[Interest] Force use of QMAKE CXXFLAGS set through ENV Var

Oliver Niebuhr googleersatz at oliverniebuhr.de
Wed Oct 17 08:57:12 CEST 2018


Morning Thiago, morning List.

After more testing, I found out what the problem was.

The Flag must be passed first or it will not work / gets 
ignored/overwritten, when passing the other Configure Flags:

Example:
* %SystemDrive%\qt5srcgit\qt5\configure QMAKE_CFLAGS=-pipe 
QMAKE_CXXFLAGS=-pipe -verbose -platform win32-g++ -c++std c++1z 
-opensource -confirm-license [...]

In the end, it was that easy.
Or like Homer would say: "DOH!" :)

Thanks!
Have a great Day everyone.
Oliver

On 16.10.2018 17:17, Thiago Macieira wrote:
> On Tuesday, 16 October 2018 00:51:19 PDT Oliver Niebuhr wrote:
>> * %SystemDrive%\qt5srcgit\qt5\configure -verbose -platform win32-g++
>> -c++std c++1z -opensource -confirm-license QMAKE_CXXFLAGS+=-pipe
> 
> This one should work, though maybe with = instead of +=.
> 



More information about the Interest mailing list