diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-12-31 08:26:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-12-31 08:26:48 +0000 |
commit | 2c793b54f5aed06ad66341f8b924981e8cc08964 (patch) | |
tree | 7f03098d89e1c3d673a98cfff80f012b29a7abd9 /eclass | |
parent | Version bump and libelf directory traversal fix from upstream #534000 by Agos... (diff) | |
download | gentoo-2-2c793b54f5aed06ad66341f8b924981e8cc08964.tar.gz gentoo-2-2c793b54f5aed06ad66341f8b924981e8cc08964.tar.bz2 gentoo-2-2c793b54f5aed06ad66341f8b924981e8cc08964.zip |
add -fsanitize=* to the allowed flag list #530070 by Sebastian Pipping
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 85e078079dd7..5ede6bf8c50a 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.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 @@ all-flag-vars() { 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+" |