https://bugs.winehq.org/show_bug.cgi?id=49507
--- Comment #2 from Bernhard Rosenkränzer bero@lindev.ch --- After some more debugging, the problem was a "-m64" in the CFLAGS environment variable.
Will leave the bug report open because it would be nice if the configure script caught a -m64 in compiler flags when asked to build 32-bit libraries.