diff options
author | Kevin F. Quinn <kevquinn@gentoo.org> | 2006-12-17 01:23:37 +0000 |
---|---|---|
committer | Kevin F. Quinn <kevquinn@gentoo.org> | 2006-12-17 01:23:37 +0000 |
commit | 9c6cfc5985138a986cc9c89fa0735a8657890851 (patch) | |
tree | e1d619e846966f200f9ee73098a213a1d1e762bd | |
parent | Remove toolchain-binutils.eclass, now binutils is no longer being modified. (diff) | |
download | kevquinn-9c6cfc5985138a986cc9c89fa0735a8657890851.tar.gz kevquinn-9c6cfc5985138a986cc9c89fa0735a8657890851.tar.bz2 kevquinn-9c6cfc5985138a986cc9c89fa0735a8657890851.zip |
Build crt{begin,end}.o -fno-PIE
svn path=/; revision=113
-rw-r--r-- | hardened/toolchain/eclass/toolchain.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hardened/toolchain/eclass/toolchain.eclass b/hardened/toolchain/eclass/toolchain.eclass index 2420907..2b0ceaf 100644 --- a/hardened/toolchain/eclass/toolchain.eclass +++ b/hardened/toolchain/eclass/toolchain.eclass @@ -2157,6 +2157,9 @@ do_gcc_PIE_patches() { # adds non-default pie support (rs6000) EPATCH_MULTI_MSG="Applying non-default pie patches ..." \ epatch "${WORKDIR}"/piepatch/nondef + # Force crt{begin,end}.o to be built normally + sed -e 's/^CRTSTUFF_T_CFLAGS =/CRTSTUFF_T_CFLAGS = -fno-PIE/' \ + -i "${S}"/gcc/Makefile.in # adds default pie support (rs6000 too) if DEFAULT_PIE[_SSP] is defined want_minispecs || EPATCH_MULTI_MSG="Applying default pie patches ..." \ |