vapier      14/12/31 08:26:48

  Modified:             flag-o-matic.eclass
  Log:
  add -fsanitize=* to the allowed flag list #530070 by Sebastian Pipping

Revision  Changes    Path
1.204                eclass/flag-o-matic.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.204&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.204&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.203&r2=1.204

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -r1.203 -r1.204
--- flag-o-matic.eclass 1 Nov 2014 03:45:53 -0000       1.203
+++ flag-o-matic.eclass 31 Dec 2014 08:26:48 -0000      1.204
@@ -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.203 
2014/11/01 03:45:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.204 
2014/12/31 08:26:48 vapier Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -25,7 +25,7 @@
 setup-allowed-flags() {
        ALLOWED_FLAGS="-pipe"
        ALLOWED_FLAGS+=" -O -O1 -O2 -Os -Og -mcpu -march -mtune"
-       ALLOWED_FLAGS+=" -fstack-protector*"
+       ALLOWED_FLAGS+=" -fstack-protector* -fsanitize=*"
        ALLOWED_FLAGS+=" -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+"




Reply via email to