mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 23:50:40 +00:00
Add some hints to optimize asmjs build
This commit is contained in:
parent
b2cefac2ef
commit
bbed5daef1
@ -14,7 +14,11 @@ ENTITL=radare2.xcent
|
||||
#LDFLAGS+=-flto
|
||||
|
||||
ifeq (${COMPILER},emscripten)
|
||||
# https://kripken.github.io/emscripten-site/docs/optimizing/Optimizing-Code.html
|
||||
# -s INLINING_LIMIT=1
|
||||
# --memory-init-file 0
|
||||
CFLAGS+=-s EXPORTED_FUNCTIONS='["_r2_asmjs_cmd"]'
|
||||
#CFLAGS+=-Oz --memory-init-file 0 -s EXPORTED_FUNCTIONS='["_r2_asmjs_cmd"]'
|
||||
endif
|
||||
|
||||
FOOD_LIBS=$(addprefix ../../libr/,$(subst r_,,$(BINDEPS)))
|
||||
|
Loading…
Reference in New Issue
Block a user