@gavinandresen 

I tried ``ld -z,relro``, which leads to:
ld: unrecognized option '-z,relro'
and ``ld -z,now``, which leads to:
ld: unrecognized option '-z,relro'

So these seem to be non present with MinGW. But before these were a QMAKE_CXXFLAGS and now you are using these with LIBS, which is correct? Just asking, as I don't know better :).