Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5880

Summary: Wine ebuild doesn't use make.conf flags
Product: Gentoo Infrastructure Reporter: Yariv Ido <yariv>
Component: BugzillaAssignee: Nick Hadaway <grandmasterlinux>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yariv Ido 2002-08-01 18:33:36 UTC
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>
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-02 09:31:32 UTC
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?
Comment 2 Nick Hadaway 2002-08-02 10:13:27 UTC
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=""
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2002-12-17 16:25:12 UTC
owner = raker
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2002-12-17 16:25:38 UTC
owner = raker