diff options
author | Takashi Kokubun <[email protected]> | 2021-04-28 11:49:55 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-28 11:49:55 -0700 |
commit | 9f8a50723f8a84b3e4755b418570148f422d1b28 (patch) | |
tree | 7780b58415e4d5c44663455665ef903b0d07736d /mjit_worker.c | |
parent | 96fd1e1f22ddea943adf5e222beb8a00ae48a70f (diff) |
Specify -c to emit pch with clang (#4423)
[Bug #17836]
Notes
Notes:
Merged-By: k0kubun <[email protected]>
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 8939c9b927..c34f85c769 100644 --- a/mjit_worker.c +++ b/mjit_worker.c @@ -807,6 +807,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 |