summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-05-03 17:39:57 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-05-03 17:39:57 -0700
commit39bd1244b49aa1fcf93d3163bfd97d94b109f2ee (patch)
tree2a85c8df9bc04f94f4a446604767d5acfb6c93ba
parenta8d39a051c3489a04c8088f7fefac56f0e5b7fef (diff)
Revert 0776198486 for Solaris debug
For some reason 0776198486 didn't fail https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20200503T230004Z.log.html.gz even while it was before 9aa5fe1bf8. Anyway, there's no need to keep the change anymore.
-rw-r--r--mjit_worker.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index 63f0d64981..cebb9ce4f6 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -266,11 +266,7 @@ static char *libruby_pathflag;
#if defined(__GNUC__) && \
(!defined(__clang__) || \
(defined(__clang__) && (defined(__FreeBSD__) || defined(__GLIBC__))))
-# ifdef __sun
-# define GCC_PIC_FLAGS "-Winvalid-pch", "-fPIC", "-shared", "-w", "-pipe",
-# else
-# define GCC_PIC_FLAGS "-Wfatal-errors", "-fPIC", "-shared", "-w", "-pipe",
-# endif
+# define GCC_PIC_FLAGS "-Wfatal-errors", "-fPIC", "-shared", "-w", "-pipe",
# define MJIT_CFLAGS_PIPE 1
#else
# define GCC_PIC_FLAGS /* empty */