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

Bug 22415

Summary: db-3.2.9-r* does not use CFLAGS in /etc/make.conf
Product: Gentoo Linux Reporter: Joshua Kinard <kumba>
Component: [OLD] LibraryAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: RESOLVED FIXED    
Severity: normal CC: kumba
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joshua Kinard gentoo-dev 2003-06-07 16:17:45 UTC
Merging db-3.2.9-r5 the other day, I noticed that "gcc" does not call in the
CFLAGS specified in /etc/make.conf, but g++ does.

checking whether the C compiler (gcc -D_GNU_SOURCE ) works... yes
checking whether the C compiler (gcc -D_GNU_SOURCE ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -O3 -mips3 -mabi=32 -mtune=r4400 -pipe
-fomit-frame-pointer ) works... yes
checking whether the C++ compiler (g++ -O3 -mips3 -mabi=32 -mtune=r4400 -pipe
-fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C++... yes
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2003-06-09 09:53:59 UTC
Tossing to pauldv 'cause he's the expert.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-19 11:09:59 UTC
Thanks for noticing this, I fixed it by editing the configure script. This script overrided the standard CFLAGS, this way it overrides it with the right values.