diff options
author | Kevin F. Quinn <kevquinn@gentoo.org> | 2007-05-10 20:03:46 +0000 |
---|---|---|
committer | Kevin F. Quinn <kevquinn@gentoo.org> | 2007-05-10 20:03:46 +0000 |
commit | 1467b61e8cf510c8f988dc0be878eef31c9cb60b (patch) | |
tree | 25ef915d3cc119387bd816c803e843c30010e71a /hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass | |
parent | Update BIND_NOW patchset for xorg-server-1.2.0 (diff) | |
download | kevquinn-1467b61e8cf510c8f988dc0be878eef31c9cb60b.tar.gz kevquinn-1467b61e8cf510c8f988dc0be878eef31c9cb60b.tar.bz2 kevquinn-1467b61e8cf510c8f988dc0be878eef31c9cb60b.zip |
Align with gentoo-x86 4/5/2007
svn path=/; revision=201
Diffstat (limited to 'hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass')
-rw-r--r-- | hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass b/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass index a5f0103..6986692 100644 --- a/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass +++ b/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass @@ -94,15 +94,15 @@ inherit eutils toolchain-funcs multilib # C[XX]FLAGS that we allow in strip-flags # Note: shell globs and character lists are allowed setup-allowed-flags() { - if [[ -z ${ALLOWED_FLAGS} ]] ; then - export ALLOWED_FLAGS="-pipe" + #if [[ -z ${ALLOWED_FLAGS} ]] ; then + export ALLOWED_FLAGS="${ALLOWED_FLAGS} -pipe" export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O0 -O1 -O2 -mcpu -march -mtune" export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fstack-protector -fstack-protector-all" export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fbounds-checking -fno-bounds-checking" export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-PIE -fno-pie -fno-unit-at-a-time" export ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+" export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-ident" - fi + #fi # allow a bunch of flags that negate features / control ABI ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-stack-protector -fno-stack-protector-all" ALLOWED_FLAGS="${ALLOWED_FLAGS} -mregparm -mno-app-regs -mapp-regs \ |