summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-18 09:20:18 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-18 14:14:28 -0400
commitbe5a9ab8aad4470465711656707c84c4762f49a7 (patch)
tree79f87ad6446088ab4337f001ed06fc925d9f0f43 /cflags.SH
parent905ccdc7f91759836c9451d6f5684acfa5d9fa67 (diff)
downloadperl-be5a9ab8aad4470465711656707c84c4762f49a7.tar.gz
Echo also these added options.
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH15
1 files changed, 12 insertions, 3 deletions
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