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

Bug 234

Summary: app-misc/gentoo doesn't honor make.conf CFLAGS
Product: Gentoo Linux Reporter: Einar Karttunen <ekarttun>
Component: Current packagesAssignee: Leo Lipelis (RETIRED) <aeoo>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Einar Karttunen 2002-01-19 07:25:32 UTC
App-misc/gentoo compiles with the following flags when
the flags specified in make.conf are 
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe".
The -O2 -g shouldn't be there.

gcc -mcpu=i686 -march=i686 -O3 -pipe -Wall -Wmissing-prototypes -g -O2 
`gtk-config --cflags` -I/usr/X11R6/include -I../widgets
-DGENTOO_PACKAGE='"gentoo"'
-DGENTOO_LOCALEDIR='"/home/emil/data/projects/gentoo/locale"' -ansi -pedantic
-Wall -Wmissing-prototypes -g -O2  `gtk-config --cflags` -I/usr/X11R6/include
-I../widgets -DGENTOO_PACKAGE='"gentoo"'
-DGENTOO_LOCALEDIR='"/home/emil/data/projects/gentoo/locale"' -ansi -pedantic  
-c -o cmd_copy.o cmd_copy.c
Comment 1 Leo Lipelis (RETIRED) gentoo-dev 2002-02-02 02:42:12 UTC
Well, it looks like this was a problem with the old gentoo software itself.  It
looks like the new version of gentoo doesn't have this problem.  So, here it is,
new ebuild for new version of gentoo :).