summaryrefslogtreecommitdiff
path: root/mjit_worker.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-03 12:00:27 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-03 12:00:27 +0000
commit33eebfd30132304244f35407daec37c4ba77a870 (patch)
tree6822fabe9ad3fda6ed60a1730df92ebfbd89aeb6 /mjit_worker.c
parenta8812080c4977c2731e8ff1b129b59d236bc12e3 (diff)
mjit_worker.c: undefine CC_PATH
because we mostly use cc_path now and the comment is obsolete (CC_PATH is now absolute path and the TODO is already resolved). mjit.c: use CC_COMMON_ARGS[0] directly git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_worker.c')
-rw-r--r--mjit_worker.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index 90aaf9d..c09268f 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -249,10 +249,6 @@ static const char *const CC_COMMON_ARGS[] = {
NULL
};
-/* GCC and CLANG executable paths. TODO: The paths should absolute
- ones to prevent changing C compiler for security reasons. */
-#define CC_PATH CC_COMMON_ARGS[0]
-
static const char *const CC_DEBUG_ARGS[] = {MJIT_DEBUGFLAGS NULL};
static const char *const CC_OPTIMIZE_ARGS[] = {MJIT_OPTFLAGS NULL};