зеркало из https://github.com/github/ruby.git
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:
Родитель
b4bc6ccb4e
Коммит
d89d1d4687
|
@ -268,14 +268,14 @@ static const char *const CC_DLDFLAGS_ARGS[] = {
|
|||
};
|
||||
|
||||
static const char *const CC_LIBS[] = {
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) // mswin, mingw, cygwin
|
||||
MJIT_LIBS
|
||||
# if defined __GNUC__ && !defined __clang__
|
||||
# if defined(_WIN32)
|
||||
#endif
|
||||
#if defined(_WIN32) && defined __GNUC__ && !defined __clang__ // mingw
|
||||
"-lmsvcrt",
|
||||
# endif
|
||||
#endif
|
||||
#if (defined(_WIN32) || defined(__CYGWIN__)) && defined __GNUC__ && !defined __clang__ // mingw, cygwin
|
||||
"-lgcc",
|
||||
# endif
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче