https://bugs.winehq.org/show_bug.cgi?id=55007
--- Comment #5 from Chiitoo chiitoo@gentoo.org --- (In reply to Chiitoo from comment #3)
Then again, I forget if I replicated the issue with a plain build from git VS our package manager, even though I'm using the same flags there.
Regarding this bit, I eventually noticed that I had not been passing CFLAGS properly to the MinGW parts of the build, meaning now I can replicate things outside Portage as well.