Gentoo Archives: gentoo-dev

From: Stephen Bennett <spb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] What to do with things like -fpie in CFLAGS in environment?
Date: Fri, 15 Apr 2005 19:35:41
Message-Id: 1113594056.10691.7.camel@localhost
In Reply to: Re: [gentoo-dev] What to do with things like -fpie in CFLAGS in environment? by Maurice van der Pot
1 On Fri, 2005-04-15 at 21:27 +0200, Maurice van der Pot wrote:
2 > What do I do now?
3
4 The obvious course of action would be to test whether the GCC being used
5 supports -fno-pie and add it if it does. If it doesn't, you'd just have
6 to assume that PIE isn't being used by default.
7
8 > Why is -fno-pie being added by filter-flags anyway?
9
10 Because with hardened gcc profiles PIE is the default behaviour. So, if
11 something doesn't work with pie (which is usually why one would filter
12 out -fpie), we need to add -fno-pie.
13
14 --
15 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] What to do with things like -fpie in CFLAGS in environment? Maurice van der Pot <griffon26@g.o>