From be5a9ab8aad4470465711656707c84c4762f49a7 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 18 Jun 2014 09:20:18 -0400 Subject: Echo also these added options. --- cflags.SH | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'cflags.SH') diff --git a/cflags.SH b/cflags.SH index 467d50245a..cdcbf4c390 100755 --- a/cflags.SH +++ b/cflags.SH @@ -178,17 +178,26 @@ Intel*) ;; # # Is that you, Intel C++? *) if test -x _cflags$_exe then case "$opt" in - -std*) stdflags="$stdflags $opt" ;; + -std*) + echo "cflags.SH: Adding $opt." + stdflags="$stdflags $opt" + ;; *) case "$opt" in -W) # -Wextra is the modern form of -W, so add # -W only if -Wextra is not there already. case " $warn " in *-Wextra*) ;; - *) warn="$warn opt" ;; + *) + echo "cflags.SH: Adding $opt." + warn="$warn opt" + ;; esac ;; - *) warn="$warn $opt" ;; + *) + echo "cflags.SH: Adding $opt." + warn="$warn $opt" + ;; esac esac fi -- cgit v1.2.1