vapier 15/05/24 07:05:30 Modified: flag-o-matic.eclass Log: add newer -fbounds-check form to the allowed flag list #530068 by Sebastian Pipping
Revision Changes Path 1.206 eclass/flag-o-matic.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.206&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.206&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.205&r2=1.206 Index: flag-o-matic.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v retrieving revision 1.205 retrieving revision 1.206 diff -u -r1.205 -r1.206 --- flag-o-matic.eclass 6 May 2015 07:04:53 -0000 1.205 +++ flag-o-matic.eclass 24 May 2015 07:05:30 -0000 1.206 @@ -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 @@ 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 @@ # 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 \
