Ernesto Rodriguez Ortiz пишет:

> After this glibmm will compile without any problems, but What are changing 
> the configuration of gcc according to which the problem of glibmm can bring 
> other problems to compile packages?

If you need to disable SSP for glibmm only, there's no point in using
hardenednossp compiler specs all the time. So just switch the hardened
profile back right after glibmm compilation:

# gcc-config i686-pc-linux-gnu-3.4.6-hardened

You can use /etc/portage/env/package-category/package-name files to
alter portage environment on a per-package basis:

# mkdir -p /etc/portage/env/dev-cpp
# cat > /etc/portage/env/dev-cpp/glibmm
CC="/usr/bin/gcc-3.4.6"
CXX="/usr/bin/gcc-3.4.6"
. /etc/env.d/gcc/i686-pc-linux-gnu-3.4.6-hardenednossp
^D

This way you don't need to switch compilers and specs manually at all.

Reply via email to