http://bugs.winehq.org/show_bug.cgi?id=5218
------- Additional Comments From mike@codeweavers.com 2006-14-05 00:20 ------- IMO, if you want to compile with CFLAGS other than what ./configure produces, then you should be willing to debug problems and submit patches to fix them yourself.
While this might be a good thing to fix, I don't believe it should be in bugzilla, or if it is, it should be marked as an enhancement rather than a bug.
If we consider this a bug, then should we also consider CFLAGS="-Werror" ./configure broken too? That doesn't produce a properly function binary either.
Should we maintain a Gentoo style list of "safe" CFLAGS? If they were really safe and did something useful, then they should be added to configure.ac.
The simple solution is that if you use CFLAGS="-foo" when configuring, you should be considered on your own, and solve the problems you come across yourself. If you want out support, then use plain ./configure.