summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2007-05-10 20:08:00 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2007-05-10 20:08:00 +0000
commit016a4662574fd2b75348b736c47cf04a6d30110e (patch)
tree61ce6fadfffd1536f69f223bd3f93bae28f088a9
parentAlign with gentoo-x86 4/5/2007 (diff)
downloadkevquinn-016a4662574fd2b75348b736c47cf04a6d30110e.tar.gz
kevquinn-016a4662574fd2b75348b736c47cf04a6d30110e.tar.bz2
kevquinn-016a4662574fd2b75348b736c47cf04a6d30110e.zip
Revert a change that wasn't supposed to be committed :/
svn path=/; revision=202
-rw-r--r--hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass6
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 6986692..a5f0103 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="${ALLOWED_FLAGS} -pipe"
+ if [[ -z ${ALLOWED_FLAGS} ]] ; then
+ export 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 \