https://bugs.winehq.org/show_bug.cgi?id=52393
--- Comment #37 from labre@posteo.de ---
Are you using any non-standard compilation options or CPU specific optimizations?
x86_64-pc-linux-gnu-gcc -m32 -c -o isfinite.o /var/tmp/portage/app-emulation/wine-vanilla-9999/work/wine-9999/libs/port/isfinite.c \ -I. -I/var/tmp/portage/app-emulation/wine-vanilla-9999/work/wine-9999/libs/port -I../../include \ -I/var/tmp/portage/app-emulation/wine-vanilla-9999/work/wine-9999/include -D__WINESRC__ \ -D_REENTRANT -fno-PIC -Wall -pipe -fcf-protection=none -fno-stack-protector \ -fno-tree-loop-distribute-patterns -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \ -fno-omit-frame-pointer -march=x86-64 -mtune=generic -O2 -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
This is what the portage ebuild generates. No custom-cflags or optimizations beyond -O2 on my behalf.
# /etc/portage/make.conf/custom CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" CXXFLAGS="${CFLAGS}"