From: | Adam Carter <adamcarter3@×××××.com> | ||
---|---|---|---|
To: | "gentoo-user@l.g.o" <gentoo-user@l.g.o> | ||
Subject: | Re: [gentoo-user] gcc 6 PIE use flag | ||
Date: | Tue, 09 May 2017 04:36:23 | ||
Message-Id: | CAC=wYCGm3eLkE12qph4wgYS35bNXCLZDqWPgRNcQLztDdWyA7w@mail.gmail.com | ||
In Reply to: | Re: [gentoo-user] gcc 6 PIE use flag by Andrew Savchenko |
1 | Shared objects often need -fPIC for proper relocations when |
2 | |
3 | > linking, just add it when you're told to. It allows COW strategy |
4 | > for DLOs but at the cost of extra CPU register and some slowdown. |
5 | > |
6 | > |
7 | Shouldn't this be in the ebuilds? eg. |
8 | if gcc:6[pie]; |
9 | then CFLAGS=${CFLAGS} -fPIC |
Subject | Author |
---|---|
Re: [gentoo-user] gcc 6 PIE use flag | Andrew Savchenko <bircoph@g.o> |