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