Permalink
Browse files

don't hide warnings from compiling and linking

  • Loading branch information...
1 parent 0326509 commit bb87afc60a90151f8502d86222f866eb65ecf5fa @sekimura committed Feb 26, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 Makefile.PL
View
@@ -66,9 +66,10 @@ EOF
print $mfh $test_c;
my $ret = 0;
- system "cc -c -I$cflags conftest.c >& /dev/null";
- system "cc -o /dev/null conftest.o -L$ldflags -levent >& /dev/null";
- $ret = $? == 0 ? 1 : 0;
+ system "cc -c -I$cflags conftest.c";
+ system "cc -o /dev/null conftest.o -L$ldflags -levent";
+ $ret = $? == 0 ? 1 : 0;
+
unlink qw/conftest.c conftest.o/;
return $ret;

0 comments on commit bb87afc

Please sign in to comment.