From 5e7a2d4fb384caf116c119d00f26c83da93811a4 Mon Sep 17 00:00:00 2001 From: Mark Montague Date: Tue, 1 Aug 2017 12:39:43 +0000 Subject: 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 --- Configure.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.1