Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26195 - pmake-1.45-r2: ebuild does not honor CFLAGS in make.conf
Summary: pmake-1.45-r2: ebuild does not honor CFLAGS in make.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 05:04 UTC by Reporter
Modified: 2003-08-11 18:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reporter 2003-08-08 05:04:06 UTC
Summary says it all. Reason seems to be hardcoded CFLAGS in 
src_compile:

src_compile() {
        make -f Makefile.boot  CFLAGS="-O2 -g -Wall -D_GNU_SOURCE \
        -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -I."
}
Comment 1 Spider (RETIRED) gentoo-dev 2003-08-11 16:19:50 UTC
Yep, it does this out of compability issues to make the bugger build at all.

Trying to implement users own CFLAGS proved more or less a catastrophy in some cases where it didn't like how things were looking.   Hard locking them on -O2 -g made it handle under gcc 3.x 

Comment 2 Brad Cowan (RETIRED) gentoo-dev 2003-08-11 18:02:45 UTC
As spider just said...this is purposely done.