https://bugs.winehq.org/show_bug.cgi?id=54214
--- Comment #2 from Shmerl shtetldik@gmail.com --- (In reply to Zhiyi Zhang from comment #1)
Try CROSSCFLAGS
Perfect, that worked. Thanks!
It would be good to add that info to configure --help, since it mentions CFLAGS only, so it's pretty obscure how to set that for cross compilation part.