Add -ffast-math for emscripten to match other platforms

Co-authored-by: James Darpinian <jdarpinian@gmail.com>
This commit is contained in:
Zack Middleton 2024-06-09 01:43:02 -05:00
parent 25a680ab6e
commit 413be19a8d
1 changed files with 1 additions and 1 deletions

View File

@ -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