summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:10:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-22 09:46:40 +0900
commit4b28fea6ee9682dfad2afa2138c0e5820babadaa (patch)
tree8711293af50eb226a73ba9870b85a599a4e523e4
parente2599a358d6b6a83f2da0972e1f91eccbf69c55e (diff)
Run ifchange with shell explicitly, workaround of noexec mount
-rw-r--r--configure.ac2
-rw-r--r--template/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 38ab4bd586..09d9f720b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4144,7 +4144,7 @@ guard=INCLUDE_RUBY_CONFIG_H
} | tr -d '\015' |
(
AS_IF([test "x$CONFIGURE_TTY" = xyes], [color=--color], [color=])
- exec ${tooldir}/ifchange $color "${config_h}" -
+ exec ${SHELL} ${tooldir}/ifchange $color "${config_h}" -
) >&AS_MESSAGE_FD || AC_MSG_ERROR([failed to create ${config_h}])
tr -d '\015' < largefile.h > confdefs.h
rm largefile.h
diff --git a/template/Makefile.in b/template/Makefile.in
index d7142636b4..60a068dadf 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -217,7 +217,7 @@ ARFLAGS = @ARFLAGS@$(empty)
RANLIB = @RANLIB@
AS = @AS@
ASFLAGS = @ASFLAGS@ $(ARCH_FLAG) $(INCFLAGS)
-IFCHANGE = $(tooldir)/ifchange
+IFCHANGE = $(SHELL) $(tooldir)/ifchange
OBJDUMP = @OBJDUMP@
OBJCOPY = @OBJCOPY@
HAVE_GIT = @HAVE_GIT@