From 413be19a8d21c67e35743084cb2349e128849ed3 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sun, 9 Jun 2024 01:43:02 -0500 Subject: [PATCH] Add -ffast-math for emscripten to match other platforms Co-authored-by: James Darpinian --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9eb9462c..0bc9522b 100644 --- a/Makefile +++ b/Makefile @@ -1069,7 +1069,7 @@ ifeq ($(PLATFORM),emscripten) BASE_CFLAGS=-fPIC -s USE_SDL=2 LDFLAGS=-s STACK_SIZE=5MB -s TOTAL_MEMORY=256MB -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME) OPTIMIZEVM = -O3 - OPTIMIZE = $(OPTIMIZEVM) + OPTIMIZE = $(OPTIMIZEVM) -ffast-math FULLBINEXT=.html