From: Mike Pall Date: Wed, 2 Oct 2024 00:06:25 +0000 (+0200) Subject: macOS: Fix macOS 15 / Clang 16 build. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2240d84464cc3dcb22fd976f1db162b36b5b52d5;p=thirdparty%2FLuaJIT.git 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 --- diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc index 4753df19..696affc6 100644 --- a/src/vm_arm64.dasc +++ b/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 diff --git a/src/vm_x64.dasc b/src/vm_x64.dasc index 8c46ea59..b8ecb868 100644 --- a/src/vm_x64.dasc +++ b/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 diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index 9c5ae384..1994c0a0 100644 --- a/src/vm_x86.dasc +++ b/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