diff options
author | Mark Montague <mark@catseye.org> | 2017-08-01 12:39:43 +0000 |
---|---|---|
committer | Mark Montague <mark@catseye.org> | 2017-08-01 12:39:43 +0000 |
commit | 5e7a2d4fb384caf116c119d00f26c83da93811a4 (patch) | |
tree | 9be0f0532b0d70357ea9c1c92f12d8ce8e57f86c | |
parent | 9339d23375dc9765892a0e50226e297093be3473 (diff) |
Add --moar-option="--option=value" option to Configure.pl
Let people who build Rakudo Star specify MoarVM build options
when running Configure.pl. This is useful, for example, to
enable libffi and build a version of Star that does not require
an excutable stack -- see
http://www.nntp.perl.org/group/perl.perl6.compiler/2017/07/msg16192.html
-rw-r--r-- | Configure.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Configure.pl b/Configure.pl index cc9000b..84cd176 100644 --- a/Configure.pl +++ b/Configure.pl @@ -34,7 +34,7 @@ MAIN: { GetOptions(\%options, 'help!', 'prefix=s', 'sysroot=s', 'sdkroot=s', 'backends=s', 'no-clean!', - 'gen-nqp:s', 'gen-moar:s', + 'gen-nqp:s', 'gen-moar:s', 'moar-option=s@', 'make-install!', 'makefile-timing!', 'force!', ) or do { @@ -285,6 +285,8 @@ General Options: --gen-nqp[=branch] Download and build a copy of NQP --makefile-timing Enable timing of individual makefile commands + --moar-option='--option=value' + Options to pass to MoarVM's Configure.pl Configure.pl also reads options from 'config.default' in the current directory. END |