Maybe I'm wrong but it seems that the compilation doesn't use any flags ( -O3 etc. ). <snip> i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_SHELL32_ -D_REENTRANT -I/usr/X11R6/include -o enumidlist.o enumidlist.c </snip>
Well, if you read the comments in the wine ebuild, you'll see that the wine reporters mentioned that their optimisations tend to be the safest. Nick, can you confirm this?
I have compiled Wine with and without optimization flags. Wine may or may not work with more aggressive optimization flags. The default optimization level that Gentoo uses is more aggressive than what most Wine developers suggest, therefore we do not use the user-set flags. If you would like to install with your make.conf settings you can edit the ebuild file and comment out the associated lines like so... # the folks at #winehq were really angry about custom optimization #export CFLAGS="" #export CXXFLAGS=""
owner = raker