From bb7ad15bb64098d5e804dbca60c07ef1197565d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Fri, 1 Aug 2025 15:14:13 -0400 Subject: [PATCH] Don't try to use thin LTO with Emscripten since it isn't supported --- Makefile.libretro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index f33e72b3..ceab40d6 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -163,8 +163,8 @@ else ifeq ($(platform),emscripten) MKXPZ_CPU = wasm32 MKXPZ_ENDIAN = little MKXPZ_CMAKE_TOOLCHAIN_FILE = $(shell em-config EMSCRIPTEN_ROOT)/cmake/Modules/Platform/Emscripten.cmake - # The build times out with full LTO - MKXPZ_LTO_MODE = thin + # The build times out with LTO enabled + MKXPZ_LTO = false else $(error unknown platform '$(platform)') endif