https://bugs.winehq.org/show_bug.cgi?id=53912
--- Comment #13 from Robbert van der Helm mail@robbertvanderhelm.nl --- I did. Or at least, I tried to. I changed my search PATH so that the built Wine binaries and tools were in there, symlinked ../winebuild/winebuild in the tools/winegcc directory since it always looks for winebuild relative to the winegcc/wineg++ binary, and compiled the binaries with build-64/tools/winegcc/wineg++ (and the same thing in my 32-bit+wine64 build directory). This is the binary it produced (no idea if there's a way to verify that it actually used the correct stack and not my system wide Wine installation):
https://gist.github.com/robbert-vdh/601eb097d116406a7184af3a9ac4561d