summaryrefslogtreecommitdiff
path: root/ext/Devel
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-16 08:29:10 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-16 08:29:10 +0000
commitf5542d3a54f14f881b60902316767ce068dbe5dd (patch)
tree8c330773a13d8b19c671757f8194155a32129adb /ext/Devel
parentdc1061dcf24d13f751b01c1228673c4d12010ea3 (diff)
downloadperl-f5542d3a54f14f881b60902316767ce068dbe5dd.tar.gz
Revert part of change #24854
p4raw-link: @24854 on //depot/perl: ab019eaa775fdcae8aaf709315c7ba85a788ee6c p4raw-id: //depot/perl@24861
Diffstat (limited to 'ext/Devel')
-rw-r--r--ext/Devel/DProf/t/DProf.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/Devel/DProf/t/DProf.t b/ext/Devel/DProf/t/DProf.t
index 84bc9272e3..afffaeaaa4 100644
--- a/ext/Devel/DProf/t/DProf.t
+++ b/ext/Devel/DProf/t/DProf.t
@@ -17,7 +17,6 @@ END {
}
use Benchmark qw( timediff timestr );
-use Config;
use Getopt::Std 'getopts';
getopts('vI:p:');
@@ -46,11 +45,10 @@ sub profile {
my $test = shift;
my @results;
local $ENV{PERL5LIB} = $perl5lib;
- my $opt_f = $Config{ccflags} =~ /USE_SITECUSTOMIZE/ ? '-f' : '';
my $opt_d = '-d:DProf';
my $t_start = new Benchmark;
- open( R, "$perl $opt_f \"$opt_d\" $test |" ) || warn "$0: Can't run. $!\n";
+ open( R, "$perl -f \"$opt_d\" $test |" ) || warn "$0: Can't run. $!\n";
@results = <R>;
close R or warn "Could not close: $!";
my $t_total = timediff( new Benchmark, $t_start );