diff options
author | NAKAMURA Usaku <usa@ruby-lang.org> | 2021-12-31 19:47:57 +0900 |
---|---|---|
committer | NAKAMURA Usaku <usa@ruby-lang.org> | 2021-12-31 19:47:57 +0900 |
commit | c24f436c2a4b343f9cb4950260376546f5ff0d06 (patch) | |
tree | d8d16204339c86e82cc1bbc5f81d9656c137390f /mjit_worker.c | |
parent | f69aeb83146be640995753667fdd6c6f157527f5 (diff) |
merge revision(s) 9f8a50723f8a84b3e4755b418570148f422d1b28: [Backport #17836]
Specify -c to emit pch with clang (#4423)
[Bug #17836]
---
mjit_worker.c | 1 +
1 file changed, 1 insertion(+)
Diffstat (limited to 'mjit_worker.c')
-rw-r--r-- | mjit_worker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mjit_worker.c b/mjit_worker.c index ce8133ac7d..95518883c6 100644 --- a/mjit_worker.c +++ b/mjit_worker.c @@ -752,6 +752,7 @@ make_pch(void) 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 |