summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-06 10:55:11 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-06 15:35:34 +0900
commit7be9f5a6e502e3d831ffb96cda345ef3db797a26 (patch)
tree13fa7335609b06f7cbd7cc7770603857bf360b6d
parent63aeb018eb1cc0f7b00f955980711fd1bd94af7f (diff)
Fix test tail with mjit options for clang provided by Xcode 16
``` clang: error: unknown argument '-emit-pch'; did you mean '-Xclang -emit-pch'? MJIT warning: Making precompiled header failed on compilation. Stopping MJIT worker... Successful MJIT finish ```
-rw-r--r--mjit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mjit.c b/mjit.c
index 031599672e..3200ee2621 100644
--- a/mjit.c
+++ b/mjit.c
@@ -586,6 +586,7 @@ make_pch(void)
{
const char *rest_args[] = {
# ifdef __clang__
+ "-Xclang",
"-emit-pch",
"-c",
# endif