From c139efc38abbbb4602444d12305c41b11cbf10ef Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 12 Oct 2013 19:50:02 +0000 Subject: strip-flags: log changes when they happen for user to see #487104 --- eclass/flag-o-matic.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eclass') 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 -- cgit v1.2.3-65-gdbad