Skip to content

Commit

Permalink
On Win32, the optimized Parrot does not even build, so don't do --opt…
Browse files Browse the repository at this point in the history
…imize on Win32 for now.
  • Loading branch information
jnthn committed Oct 6, 2009
1 parent d91717d commit f845ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configure.pl
Expand Up @@ -31,7 +31,7 @@
my $prefix = $options{'gen-parrot-prefix'} || cwd()."/parrot_install";
# parrot's Configure.pl mishandles win32 backslashes in --prefix
$prefix =~ s{\\}{/}g;
my @command = ($^X, "build/gen_parrot.pl", "--prefix=$prefix", "--optimize", @opts);
my @command = ($^X, "build/gen_parrot.pl", "--prefix=$prefix", ($^O !~ /win32/i ? "--optimize" : ()), @opts);

print "Generating Parrot ...\n";
print "@command\n\n";
Expand Down

0 comments on commit f845ccf

Please sign in to comment.