diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-05-24 07:05:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-05-24 07:05:30 +0000 |
commit | ec45ed1e998486cca85cca66e13d7606e31aff47 (patch) | |
tree | 98cba2c521371e569269fb162621455f82c1d98d /eclass | |
parent | Mark stable for all #535652. (diff) | |
download | gentoo-2-ec45ed1e998486cca85cca66e13d7606e31aff47.tar.gz gentoo-2-ec45ed1e998486cca85cca66e13d7606e31aff47.tar.bz2 gentoo-2-ec45ed1e998486cca85cca66e13d7606e31aff47.zip |
add newer -fbounds-check form to the allowed flag list #530068 by Sebastian Pipping
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index f5919cccf2bd..38b6ac59f708 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 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.205 2015/05/06 07:04:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.206 2015/05/24 07:05:30 vapier Exp $ # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -26,7 +26,7 @@ setup-allowed-flags() { ALLOWED_FLAGS="-pipe" ALLOWED_FLAGS+=" -O -O1 -O2 -Os -Og -mcpu -march -mtune" ALLOWED_FLAGS+=" -fstack-protector* -fsanitize=*" - ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow" + ALLOWED_FLAGS+=" -fbounds-check -fbounds-checking -fno-strict-overflow" ALLOWED_FLAGS+=" -fno-PIE -fno-pie -nopie -fno-unit-at-a-time" ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gdwarf-* gstabs -gstabs+" ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches" @@ -35,7 +35,7 @@ setup-allowed-flags() { # allow a bunch of flags that negate features / control ABI ALLOWED_FLAGS+=" -fno-stack-protector* -fabi-version=* \ - -fno-strict-aliasing -fno-bounds-checking -fstrict-overflow \ + -fno-strict-aliasing -fno-bounds-check -fno-bounds-checking -fstrict-overflow \ -fno-omit-frame-pointer -fno-builtin*" ALLOWED_FLAGS+=" -mregparm -mno-app-regs -mapp-regs -mno-mmx -mno-sse \ -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 \ |