mjit_worker.c: untangle CC_LIBS nesting
This should have no impact. The CC_LIBS was too hard to read for human. I don't remember whether the order of -lmsvcrt and -lgcc matters or not, but I kept that for the best safety. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b4bc6ccb4e
commit
d89d1d4687
@ -268,14 +268,14 @@ static const char *const CC_DLDFLAGS_ARGS[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char *const CC_LIBS[] = {
|
static const char *const CC_LIBS[] = {
|
||||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
#if defined(_WIN32) || defined(__CYGWIN__) // mswin, mingw, cygwin
|
||||||
MJIT_LIBS
|
MJIT_LIBS
|
||||||
# if defined __GNUC__ && !defined __clang__
|
#endif
|
||||||
# if defined(_WIN32)
|
#if defined(_WIN32) && defined __GNUC__ && !defined __clang__ // mingw
|
||||||
"-lmsvcrt",
|
"-lmsvcrt",
|
||||||
# endif
|
#endif
|
||||||
|
#if (defined(_WIN32) || defined(__CYGWIN__)) && defined __GNUC__ && !defined __clang__ // mingw, cygwin
|
||||||
"-lgcc",
|
"-lgcc",
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user