CFLAGS are ignored. ### List of files built with LDFLAGS ignored ### /usr/qt/3/plugins/sqldrivers/libqsqlodbc.so ### End of list ### Probably similar sedding like this in x11-libs/qt is needed.
OK, that was about enough. 1/ Use common sense when filing bugs (like, what about mailing gentoo-dev mailing list first and asking about the best course of action here? 2/ If you have a patch, submit it *upstream* unless this is a *Gentoo-specific* issue.
This bug report also concerns CFLAGS. Unfortunately you didn't see it. http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/building/index.html and http://devmanual.gentoo.org/general-concepts/user-environment/index.html say that CFLAGS should be respected. I have patch so I'm reopening it.
Created attachment 121838 [details, diff] Patch Solution is copied from x11-libs/qt.
Qt: I would love to see a comment from you.
I'm not comfortable with applying this unless someone from the qt team comments. Has anyone tried this out and made sure it works fine, and can get upstream to have a nicer solution for us? :)
It's obviously the right solution, given how it's the same tarball as qt itself from which the suggested solution was grabbed. Fixed in 3.3.8.