On Sun, 24 Jun 2012 12:05:15 -0400, Scott Kitterman <deb...@kitterman.com>
wrote:
> Passing the CCPFLAGS via CFLAGS/CXXFLAGS as discussed yesterday worked
> great 
> for SIP4.  I it mostly working for PyQT, but it doesn't appear that 
> QtCore/QtGui and the Designer plugin aren't getting the all flags.  I'm
> passing 
> these flags:
> 
> CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Wformat-
> security -Werror=format-security -D_FORTIFY_SOURCE=2
> CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Wformat-
> security -Werror=format-security -D_FORTIFY_SOURCE=2
> LFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
> 
> It looks like QtCore/QtGui aren't getting the CXXFLAGS

They are as far as I can see.

> and the plugin
> isn't 
> getting the LFLAGS.

The Designer plugin is built using qmake and doesn't use the SIP build
system.

> Please see the attached build log with Python 2.7
> (it's 
> the same with 2.6 and 3.2).  I'd appreciate any 
> advice on this.
> 
> Scott K

If these flags are Debian standard then why not add them to Qt's spec file
for Debian? PyQt will then pick them up automatically.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to