diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-06 04:13:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-06 04:13:47 +0000 |
commit | a4b73e7e9f9d8cc317be0810e834f202e9ec0f16 (patch) | |
tree | a83eb0e65c5d3537ac890aeb8a559fc8262c6c03 /Makefile.in | |
parent | 67de434219f3ff3afa02edc805ddf163ccb3462d (diff) |
Makefile.in: make MJIT_CC_COMMON an absolute path
* Makefile.in (mjit_config.h): expand MJIT_CC_COMMON path to
mitigate potential security risks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 724773cd6c..913e4df814 100644 --- a/Makefile.in +++ b/Makefile.in @@ -610,7 +610,7 @@ mjit_config.h: quote MJIT_BUILD_DIR "`$(CHDIR) . && pwd`"; \ quote MJIT_MIN_HEADER_NAME "/$(MJIT_HEADER_INSTALL_DIR)/$(MJIT_MIN_HEADER_NAME)"; \ sep=,; \ - quote "MJIT_CC_COMMON " $(MJIT_CC); \ + quote "MJIT_CC_COMMON " "`command -v $(MJIT_CC)`"; \ quote "MJIT_CFLAGS $${need_mjit_archflag:+ MJIT_ARCHFLAG}" $(MJIT_CFLAGS); \ quote "MJIT_OPTFLAGS " $(MJIT_OPTFLAGS); \ quote "MJIT_DEBUGFLAGS " $(MJIT_DEBUGFLAGS); \ |