https://bugs.winehq.org/show_bug.cgi?id=51694
--- Comment #2 from reserv0@yahoo.com --- (In reply to Zebediah Figura from comment #1)
You'll have to set CROSSCC as well.
Yes, just exporting this one as 'gcc' seems to solve the issue...
(Why do we prefer clang? Can we at least try to infer CROSSCC from CC, or is that too hard?)
Why was it changed at all in the first place for the *default* compiler ?...
I mean, it's fine to allow the use of a different cross-compiler, but when unspecified, the default system compiler should be used for it...