From f4be0700bf78d98b0abe4ee69e4ee89ccc851018 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Sun, 16 Aug 2026 22:04:10 +0800 Subject: [PATCH] [fix] remove deprecated -ld_classic linker flag --- submodules/minirtc | 2 +- xmake/platform.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/submodules/minirtc b/submodules/minirtc index 79db864..4da10de 160000 --- a/submodules/minirtc +++ b/submodules/minirtc @@ -1 +1 @@ -Subproject commit 79db864be58e5c8610aa5ebcfe54b3dafb3068fd +Subproject commit 4da10dea5b8982607fd5cdb3dd239859763b955f diff --git a/xmake/platform.lua b/xmake/platform.lua index cbf8150..040263e 100644 --- a/xmake/platform.lua +++ b/xmake/platform.lua @@ -80,7 +80,6 @@ function setup_platform_settings() add_cxflags("-Wno-unused-variable") elseif is_os("macosx") then - add_ldflags("-Wl,-ld_classic") add_cxflags("-Wno-unused-variable") add_frameworks("Cocoa", "OpenGL", "IOSurface", "ScreenCaptureKit", "AVFoundation", "CoreMedia", "CoreVideo", "CoreAudio",