summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-19 18:28:10 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-19 18:28:10 +0900
commit2a80bac9f08b6d743399158d5bb96061f450a679 (patch)
tree9334ec903bf5a14f15b21ee7d9102b9b7614dd3a /template
parente9f62fa5a762d367e3dc1818d29450ee8e9e25ab (diff)
Remove `--jobserver-auth` option which varies for each run
Diffstat (limited to 'template')
-rw-r--r--template/configure-ext.mk.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/configure-ext.mk.tmpl b/template/configure-ext.mk.tmpl
index 8ba6b963e3..bc192a37ce 100644
--- a/template/configure-ext.mk.tmpl
+++ b/template/configure-ext.mk.tmpl
@@ -23,7 +23,7 @@ exts = {}
end
%>
MINIRUBY = <%=miniruby%>
-SCRIPT_ARGS = <%=script_args.gsub("#", "\\#")%>
+SCRIPT_ARGS = <%=script_args.gsub("#", "\\#").gsub(/\A|[\s"']\K--jobserver-auth=[^\s'"]*/, "")%>
EXTMK_ARGS = $(SCRIPT_ARGS) --gnumake=$(gnumake) --extflags="$(EXTLDFLAGS)" \
--make-flags="MINIRUBY='$(MINIRUBY)'"