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 | 14e2c09b8819b98c98fd99d6b1fc8875d05cfb17 (patch) | |
tree | 849ba3c35788d189615996ef49eea6639dc9c493 /eclass/flag-o-matic.eclass | |
parent | Added ~ppc64; bug #177426 (diff) | |
download | historical-14e2c09b8819b98c98fd99d6b1fc8875d05cfb17.tar.gz historical-14e2c09b8819b98c98fd99d6b1fc8875d05cfb17.tar.bz2 historical-14e2c09b8819b98c98fd99d6b1fc8875d05cfb17.zip |
allow -fno-strict-aliasing in strip-flags as pointed out by nyhm
Diffstat (limited to 'eclass/flag-o-matic.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 \ |