diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-12 11:45:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-05-12 11:45:51 +0000 |
commit | 5998fbabe2daeb59e41e7ccab051b7d587436bbc (patch) | |
tree | 8fcae04bfe35e3c3166fe78b2c7a4ec721165def /eclass | |
parent | Added ~ppc64; bug #177426 (diff) | |
download | gentoo-2-5998fbabe2daeb59e41e7ccab051b7d587436bbc.tar.gz gentoo-2-5998fbabe2daeb59e41e7ccab051b7d587436bbc.tar.bz2 gentoo-2-5998fbabe2daeb59e41e7ccab051b7d587436bbc.zip |
allow -fno-strict-aliasing in strip-flags as pointed out by nyhm
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index e27ff333c666..e8c412b38381 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.118 2007/03/24 07:07:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.119 2007/05/12 11:45:51 vapier Exp $ # # Maintainer: toolchain@gentoo.org @@ -98,13 +98,14 @@ setup-allowed-flags() { 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} -fbounds-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 # 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} -fno-stack-protector -fno-stack-protector-all \ + -fno-strict-aliasing -fno-bounds-checking" ALLOWED_FLAGS="${ALLOWED_FLAGS} -mregparm -mno-app-regs -mapp-regs \ -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow \ -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 \ |