summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-17 11:59:22 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-17 11:59:22 -0500
commitf5cad9bf37cb44b93d2ececc7d031c0b45fc02d1 (patch)
treeffd1adec8c588d7f7e96db5900fd1ba192ec09fd
parentupdate min rust version to 1.88.0 (diff)
downloadDungeonCrawl-f5cad9bf37cb44b93d2ececc7d031c0b45fc02d1.tar.gz
DungeonCrawl-f5cad9bf37cb44b93d2ececc7d031c0b45fc02d1.tar.bz2
DungeonCrawl-f5cad9bf37cb44b93d2ececc7d031c0b45fc02d1.zip
wasm: add a default emsdk sysroot for non nixos users
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 06b3401..faf04f3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ ASSETS_DST = $(patsubst game/www/%,dist/%,$(ASSETS_SRC))
TEST_PORT ?= 8000
+EMSDK_SYSROOT ?= $(EMSDK)/upstream/emscripten/cache/sysroot
EMCC_CFLAGS := -O3 \
-sUSE_GLFW=3 \
-sASSERTIONS=1 \