diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-10-12 19:50:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-10-12 19:50:02 +0000 |
commit | c139efc38abbbb4602444d12305c41b11cbf10ef (patch) | |
tree | 32bd23d348507b4f3300a3ba23f9fd5a95ccd567 /eclass/flag-o-matic.eclass | |
parent | Add multilib support #481306 by Alexis Ballier. (diff) | |
download | gentoo-2-c139efc38abbbb4602444d12305c41b11cbf10ef.tar.gz gentoo-2-c139efc38abbbb4602444d12305c41b11cbf10ef.tar.bz2 gentoo-2-c139efc38abbbb4602444d12305c41b11cbf10ef.zip |
strip-flags: log changes when they happen for user to see #487104
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 37bdeaf70b5c..84dd5ccb01a7 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 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.189 2013/09/30 06:39:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.190 2013/10/12 19:50:02 vapier Exp $ # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -392,6 +392,9 @@ strip-flags() { new+=( -O2 ) fi + if [[ ${!var} != "${new[*]}" ]] ; then + einfo "strip-flags: ${var}: changed '${!var}' to '${new[*]}'" + fi eval export ${var}=\""${new[*]}"\" done |