1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Support cc_added_args again

This support was accidentally removed in 818d6d3336.
This commit is contained in:
Takashi Kokubun 2020-05-03 00:45:18 -07:00
parent a218cbdf31
commit 4aca078bda
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -865,7 +865,7 @@ compile_c_to_so(const char *c_file, const char *so_file)
NULL NULL
}; };
char **args = form_args(6, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS, char **args = form_args(7, CC_LDSHARED_ARGS, CC_CODEFLAG_ARGS, cc_added_args,
options, CC_LIBS, CC_DLDFLAGS_ARGS, CC_LINKER_ARGS); options, CC_LIBS, CC_DLDFLAGS_ARGS, CC_LINKER_ARGS);
if (args == NULL) if (args == NULL)
return false; return false;