1 |
Ernesto Rodriguez Ortiz пишет: |
2 |
|
3 |
> 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? |
4 |
|
5 |
If you need to disable SSP for glibmm only, there's no point in using |
6 |
hardenednossp compiler specs all the time. So just switch the hardened |
7 |
profile back right after glibmm compilation: |
8 |
|
9 |
# gcc-config i686-pc-linux-gnu-3.4.6-hardened |
10 |
|
11 |
You can use /etc/portage/env/package-category/package-name files to |
12 |
alter portage environment on a per-package basis: |
13 |
|
14 |
# mkdir -p /etc/portage/env/dev-cpp |
15 |
# cat > /etc/portage/env/dev-cpp/glibmm |
16 |
CC="/usr/bin/gcc-3.4.6" |
17 |
CXX="/usr/bin/gcc-3.4.6" |
18 |
. /etc/env.d/gcc/i686-pc-linux-gnu-3.4.6-hardenednossp |
19 |
^D |
20 |
|
21 |
This way you don't need to switch compilers and specs manually at all. |