mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 07:13:44 +02:00
Don't try to use thin LTO with Emscripten since it isn't supported
This commit is contained in:
parent
d31df2dead
commit
bb7ad15bb6
1 changed files with 2 additions and 2 deletions
|
@ -163,8 +163,8 @@ else ifeq ($(platform),emscripten)
|
||||||
MKXPZ_CPU = wasm32
|
MKXPZ_CPU = wasm32
|
||||||
MKXPZ_ENDIAN = little
|
MKXPZ_ENDIAN = little
|
||||||
MKXPZ_CMAKE_TOOLCHAIN_FILE = $(shell em-config EMSCRIPTEN_ROOT)/cmake/Modules/Platform/Emscripten.cmake
|
MKXPZ_CMAKE_TOOLCHAIN_FILE = $(shell em-config EMSCRIPTEN_ROOT)/cmake/Modules/Platform/Emscripten.cmake
|
||||||
# The build times out with full LTO
|
# The build times out with LTO enabled
|
||||||
MKXPZ_LTO_MODE = thin
|
MKXPZ_LTO = false
|
||||||
else
|
else
|
||||||
$(error unknown platform '$(platform)')
|
$(error unknown platform '$(platform)')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue