summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-30 22:03:36 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-30 22:03:37 +0900
commit8c7f4e8f8b7f9e74195ea0eb51f39014fec342c0 (patch)
tree6d010e91ca6a6eff036090f69742b04cb6fdb562
parentc45dd4d4826704471cf9ff2c7869065236dd174e (diff)
Try dropping DLDFLAGS from compile_c_to_o
I think this did not work for some environments, but this seems to fix OpenBSD RubyCI failure: https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd65/ruby-master/log/20190830T110008Z.fail.html.gz Let me check RubyCI impact by this.
-rw-r--r--mjit_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index 499f8cf..7bdc3c4 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -792,7 +792,7 @@ compile_c_to_o(const char *c_file, const char *o_file)
"-c", NULL
};
- char **args = form_args(4, cc_common_args, CC_CODEFLAG_ARGS, files, CC_DLDFLAGS_ARGS);
+ char **args = form_args(3, cc_common_args, CC_CODEFLAG_ARGS, files);
if (args == NULL)
return false;