Skip to content

Commit

Permalink
Add -ffast-math for emscripten to match other platforms
Browse files Browse the repository at this point in the history
Co-authored-by: James Darpinian <[email protected]>
  • Loading branch information
zturtleman and jdarpinian committed Jun 9, 2024
1 parent 12a86b8 commit 03132e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 03132e4

Please sign in to comment.