http://bugs.winehq.org/show_bug.cgi?id=2095
------- Additional Comments From us@the-edmeades.demon.co.uk 2005-10-03 17:15 ------- I think the deal is to set LDFLAGS="-s -z combreloc" in make.rules (top level, or hack it directly into eg. dlls/ddraw/tests/Makefile under LDFLAGS for test purposes). The problem still occurs because winegcc ignores the -z parm and assumes it doesnt take any parms.
WineGCC would need updating to support -z and an arg, which I think isnt too bad because -z isnt a valid flag to the compiler, but you would need to check mingw as well doesnt support a -z on the compile.