This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Some day I might actually learn to test changes first
[perl5.git] / hints / darwin.sh
index 166130c..518af30 100644 (file)
@@ -85,7 +85,7 @@ cppflags="${cppflags} -no-cpp-precomp"
 ccflags="${ccflags} -no-cpp-precomp"
 
 # Known optimizer problems.
 ccflags="${ccflags} -no-cpp-precomp"
 
 # Known optimizer problems.
-case "`cc -v`" in
+case "`cc -v 2>&1`" in
 *"3.1 20020105"*) toke_cflags='optimize=""' ;;
 esac
 
 *"3.1 20020105"*) toke_cflags='optimize=""' ;;
 esac