ruby-changes:54608
From: k0kubun <ko1@a...>
Date: Tue, 15 Jan 2019 13:02:58 +0900 (JST)
Subject: [ruby-changes:54608] k0kubun:r66823 (trunk): Revert "mjit_worker.c: try passing -nostdlib to AIX"
k0kubun 2019-01-15 13:02:53 +0900 (Tue, 15 Jan 2019) New Revision: 66823 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66823 Log: Revert "mjit_worker.c: try passing -nostdlib to AIX" This reverts commit b32fb23083912c37a2601c66531ed786a7c9f3e5. This didn't work on AIX. Modified files: trunk/mjit_worker.c Index: mjit_worker.c =================================================================== --- mjit_worker.c (revision 66822) +++ mjit_worker.c (revision 66823) @@ -247,9 +247,9 @@ static char *libruby_pathflag; https://github.com/ruby/ruby/blob/trunk/mjit_worker.c#L247 # define MJIT_CFLAGS_PIPE 0 #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. -#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", #else # define GCC_NOSTDLIB_FLAGS /* empty */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/