瀏覽代碼

macOS: Fix macOS 15 / Clang 16 build.

Note: The -Wl,-no_deduplicate workaround is NOT needed anymore.
Thanks to fxcoudert, corsix, clason, baconpaul, mvf. #1275 #1266
Mike Pall 1 年之前
父節點
當前提交
2240d84464
共有 3 個文件被更改,包括 0 次插入3 次删除
  1. 0 1
      src/vm_arm64.dasc
  2. 0 1
      src/vm_x64.dasc
  3. 0 1
      src/vm_x86.dasc

+ 0 - 1
src/vm_arm64.dasc

@@ -4212,7 +4212,6 @@ static void emit_asm_debug(BuildCtx *ctx)
 	"LEFDEY:\n\n", fcsize);
     }
 #endif
-    fprintf(ctx->fp, ".subsections_via_symbols\n");
     }
     break;
 #endif

+ 0 - 1
src/vm_x64.dasc

@@ -4941,7 +4941,6 @@ static void emit_asm_debug(BuildCtx *ctx)
 	  "LEFDEY:\n\n", fcsize);
     }
 #endif
-    fprintf(ctx->fp, ".subsections_via_symbols\n");
     }
     break;
 #endif

+ 0 - 1
src/vm_x86.dasc

@@ -5841,7 +5841,6 @@ static void emit_asm_debug(BuildCtx *ctx)
 	  fprintf(ctx->fp, "L_%s$stub:\n\t.indirect_symbol _%s\n\t.ascii \"\\364\\364\\364\\364\\364\"\n", *xn, *xn);
     }
 #endif
-    fprintf(ctx->fp, ".subsections_via_symbols\n");
     }
     break;
 #endif