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
Tossing to pauldv 'cause he's the expert.
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.