diff options
| author | RDR8 <rdr8@protonmail.com> | 2017-03-29 16:04:29 -0500 |
|---|---|---|
| committer | RDR8 <rdr8@protonmail.com> | 2017-03-29 16:04:29 -0500 |
| commit | 44de97ea160b0be2591be1108c389479faab8d45 (patch) | |
| tree | ac7321f9ef1d4ea8221aa01089e660ff477e2326 /src | |
| parent | f65bd8e4a05813e8c67348d42cce270a9bc05d0d (diff) | |
| download | raylib-44de97ea160b0be2591be1108c389479faab8d45.tar.gz raylib-44de97ea160b0be2591be1108c389479faab8d45.zip | |
Fine-tuning PLATFORM_WEB CFLAGS
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 0931ef3c..4259a66b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -172,7 +172,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) endif endif ifeq ($(PLATFORM),PLATFORM_WEB) - CFLAGS = -O2 -Wall -std=c99 -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources + CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources + # -O2 # if used, also set --memory-init-file 0 + # --memory-init-file 0 # to avoid an external memory initialization code file (.mem) # -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing # -s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB) # -s USE_PTHREADS=1 # multithreading support |
