Skip to content

Commit

Permalink
--backends wasn't passed down to NQP Configure.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed May 23, 2019
1 parent 2fb3b23 commit c86742a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdparty/nqp-configure
3 changes: 3 additions & 0 deletions tools/lib/NQP/Config/Rakudo.pm
Expand Up @@ -421,6 +421,7 @@ sub gen_nqp {
"--git-protocol=$git_protocol",
);

# Append only the options we'd like to pass down to NQP's Configure.pl
for my $opt (
qw<git-depth git-reference github-user nqp-repo moar-repo
no-relocatable ignore-errors>
Expand All @@ -430,6 +431,8 @@ sub gen_nqp {
push @cmd, $opt_str if $opt_str;
}

push @cmd, "--backends=" . join( ",", $self->active_backends );

if ( defined $gen_moar ) {
push @cmd, $gen_moar ? "--gen-moar=$gen_moar" : '--gen-moar';

Expand Down

0 comments on commit c86742a

Please sign in to comment.