mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert "mjit_worker.c: try passing -nostdlib to AIX"
This reverts commit b32fb23083
.
This didn't work on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a01f2f0abd
commit
5e84537d32
1 changed files with 2 additions and 2 deletions
|
@ -247,9 +247,9 @@ static char *libruby_pathflag;
|
||||||
# define MJIT_CFLAGS_PIPE 0
|
# define MJIT_CFLAGS_PIPE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Use `-nodefaultlibs -nostdlib` for GCC where possible, which does not work on mingw and cygwin.
|
// Use `-nodefaultlibs -nostdlib` for GCC where possible, which does not work on mingw, cygwin and AIX.
|
||||||
// This seems to improve MJIT performance on GCC.
|
// This seems to improve MJIT performance on GCC.
|
||||||
#if defined __GNUC__ && !defined __clang__ && !defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined __GNUC__ && !defined __clang__ && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(_AIX)
|
||||||
# define GCC_NOSTDLIB_FLAGS "-nodefaultlibs", "-nostdlib",
|
# define GCC_NOSTDLIB_FLAGS "-nodefaultlibs", "-nostdlib",
|
||||||
#else
|
#else
|
||||||
# define GCC_NOSTDLIB_FLAGS /* empty */
|
# define GCC_NOSTDLIB_FLAGS /* empty */
|
||||||
|
|
Loading…
Add table
Reference in a new issue