forked from mirror/libbpg
libbpg-0.9.7
This commit is contained in:
parent
35a8402710
commit
1261ac523b
11 changed files with 723 additions and 239 deletions
5
Makefile
5
Makefile
|
@ -49,8 +49,9 @@ endif
|
|||
# Emscriptem config
|
||||
EMLDFLAGS:=-s "EXPORTED_FUNCTIONS=['_bpg_decoder_open','_bpg_decoder_decode','_bpg_decoder_get_info','_bpg_decoder_start','_bpg_decoder_get_frame_duration','_bpg_decoder_get_line','_bpg_decoder_close','_malloc','_free']"
|
||||
EMLDFLAGS+=-s NO_FILESYSTEM=1 -s NO_BROWSER=1
|
||||
#EMLDFLAGS+=-O1 --post-js post.js
|
||||
EMLDFLAGS+=-O3 --memory-init-file 0 --closure 1 --post-js post.js
|
||||
#EMLDFLAGS+=-O1 --pre-js pre.js --post-js post.js
|
||||
# Note: the closure compiler is disabled because it adds unwanted global symbols
|
||||
EMLDFLAGS+=-O3 --memory-init-file 0 --closure 0 --pre-js pre.js --post-js post.js
|
||||
EMCFLAGS:=$(CFLAGS)
|
||||
|
||||
LDFLAGS=-g
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue