From 2117a10778240bb38b664d71b95a726a653b09df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Tue, 29 Jul 2025 12:48:08 -0400 Subject: [PATCH] Attempt again to fix libretro CI failure on x86_64 macOS --- Makefile.libretro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 13af80c0..07d14125 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -38,8 +38,8 @@ else ifeq ($(platform),osx) MKXPZ_CPU = x86_64 MKXPZ_ENDIAN = little # macOS 10.7 is the first version of macOS with support for thread-local storage, which we currently need - MKXPZ_CC = ['xcrun', '--sdk', 'macosx', '$(CC)', '-arch=x86_64', '-mmacos-version-min=10.7'] - MKXPZ_CXX = ['xcrun', '--sdk', 'macosx', '$(CXX)', '-arch=x86_64', '-mmacos-version-min=10.7'] + MKXPZ_CC = ['$(CC)', '--target=x86_64-apple-macos10.7'] + MKXPZ_CXX = ['$(CXX)', '--target=x86_64-apple-macos10.7'] # The build times out with LTO enabled MKXPZ_LTO = false endif