mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-04 02:15:03 +00:00
Give emcc link-time flags only to the link phase not the compile phase
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Options for Emscripten, WASM and SDL
|
||||
|
||||
CC = emcc -sUSE_SDL=2 -sASYNCIFY -sALLOW_MEMORY_GROWTH $(CLANG_CFLAGS)
|
||||
CC = emcc $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)sdl.o
|
||||
|
||||
@@ -11,9 +11,9 @@ OPTFLAGS = -O2 -g3
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LD = emcc
|
||||
LDFLAGS = -sUSE_SDL=2 --preload-file $(SYSOUT)@full.sysout
|
||||
LDFLAGS = -sUSE_SDL=2 -sASYNCIFY -sALLOW_MEMORY_GROWTH --preload-file $(SYSOUT)@full.sysout
|
||||
LDELDFLAGS =
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl.js
|
||||
default : ../$(OSARCHNAME)/ldesdl.js
|
||||
|
||||
Reference in New Issue
Block a user