[前][次][番号順一覧][スレッド一覧]

ruby-changes:66013

From: Takashi <ko1@a...>
Date: Thu, 29 Apr 2021 03:50:17 +0900 (JST)
Subject: [ruby-changes:66013] 9f8a50723f (master): Specify -c to emit pch with clang (#4423)

https://git.ruby-lang.org/ruby.git/commit/?id=9f8a50723f

From 9f8a50723f8a84b3e4755b418570148f422d1b28 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Wed, 28 Apr 2021 11:49:55 -0700
Subject: Specify -c to emit pch with clang (#4423)

[Bug #17836]
---
 mjit_worker.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mjit_worker.c b/mjit_worker.c
index 8939c9b..c34f85c 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -807,6 +807,7 @@ make_pch(void) https://github.com/ruby/ruby/blob/trunk/mjit_worker.c#L807
     const char *rest_args[] = {
 # ifdef __clang__
         "-emit-pch",
+        "-c",
 # endif
         // -nodefaultlibs is a linker flag, but it may affect cc1 behavior on Gentoo, which should NOT be changed on pch:
         // https://gitweb.gentoo.org/proj/gcc-patches.git/tree/7.3.0/gentoo/13_all_default-ssp-fix.patch
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]