This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Echo also these added options.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 18 Jun 2014 13:20:18 +0000 (09:20 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 18 Jun 2014 18:14:28 +0000 (14:14 -0400)
cflags.SH

index 467d502..cdcbf4c 100755 (executable)
--- 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