mirror of https://github.com/ioquake/ioq3.git
Add -ffast-math for emscripten to match other platforms
Co-authored-by: James Darpinian <jdarpinian@gmail.com>
This commit is contained in:
parent
25a680ab6e
commit
413be19a8d
2
Makefile
2
Makefile
|
@ -1069,7 +1069,7 @@ ifeq ($(PLATFORM),emscripten)
|
||||||
BASE_CFLAGS=-fPIC -s USE_SDL=2
|
BASE_CFLAGS=-fPIC -s USE_SDL=2
|
||||||
LDFLAGS=-s STACK_SIZE=5MB -s TOTAL_MEMORY=256MB -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME)
|
LDFLAGS=-s STACK_SIZE=5MB -s TOTAL_MEMORY=256MB -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME)
|
||||||
OPTIMIZEVM = -O3
|
OPTIMIZEVM = -O3
|
||||||
OPTIMIZE = $(OPTIMIZEVM)
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
|
|
||||||
FULLBINEXT=.html
|
FULLBINEXT=.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue