Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: flag-o-matic.eclass
Date: Wed, 31 Dec 2014 08:26:51
Message-Id: 20141231082648.3CB55E8DD@oystercatcher.gentoo.org
1 vapier 14/12/31 08:26:48
2
3 Modified: flag-o-matic.eclass
4 Log:
5 add -fsanitize=* to the allowed flag list #530070 by Sebastian Pipping
6
7 Revision Changes Path
8 1.204 eclass/flag-o-matic.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.204&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.204&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.203&r2=1.204
13
14 Index: flag-o-matic.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
17 retrieving revision 1.203
18 retrieving revision 1.204
19 diff -u -r1.203 -r1.204
20 --- flag-o-matic.eclass 1 Nov 2014 03:45:53 -0000 1.203
21 +++ flag-o-matic.eclass 31 Dec 2014 08:26:48 -0000 1.204
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2014 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.203 2014/11/01 03:45:53 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.204 2014/12/31 08:26:48 vapier Exp $
27
28 # @ECLASS: flag-o-matic.eclass
29 # @MAINTAINER:
30 @@ -25,7 +25,7 @@
31 setup-allowed-flags() {
32 ALLOWED_FLAGS="-pipe"
33 ALLOWED_FLAGS+=" -O -O1 -O2 -Os -Og -mcpu -march -mtune"
34 - ALLOWED_FLAGS+=" -fstack-protector*"
35 + ALLOWED_FLAGS+=" -fstack-protector* -fsanitize=*"
36 ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
37 ALLOWED_FLAGS+=" -fno-PIE -fno-pie -nopie -fno-unit-at-a-time"
38 ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gdwarf-* gstabs -gstabs+"