Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Some Configure.pm updates for Moar.
  • Loading branch information
jnthn committed Mar 15, 2014
1 parent 7e41622 commit e17b584
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/lib/NQP/Configure.pm
Expand Up @@ -274,6 +274,7 @@ sub gen_nqp {

my $backends = $options{'backends'};
my $gen_nqp = $options{'gen-nqp'};
my $gen_moar = $options{'gen-moar'};
my $gen_parrot = $options{'gen-parrot'};
my $prefix = $options{'prefix'} || cwd().'/install';
my $startdir = cwd();
Expand Down Expand Up @@ -321,7 +322,7 @@ sub gen_nqp {

return %impls unless %need;

if (defined $gen_nqp || defined $gen_parrot) {
if (defined $gen_nqp || defined $gen_parrot || defined $gen_moar) {
git_checkout($nqp_git, 'nqp', $nqp_want, $nqp_push);
}

Expand All @@ -333,7 +334,7 @@ sub gen_nqp {
$impls{parrot}{config} = \%c;
}

return %impls unless defined($gen_nqp) || defined($gen_parrot);
return %impls unless defined($gen_nqp) || defined($gen_parrot) || defined $gen_moar);

my $backends_to_build = join ',', sort keys %need;
my @cmd = ($^X, 'Configure.pl', "--prefix=$prefix",
Expand Down

0 comments on commit e17b584

Please sign in to comment.