Permalink
Browse files

optimisation options for chrome build

  • Loading branch information...
1 parent 7aacb89 commit 8437ee0bb59122530d8d8556f70bf00501263977 @mnaamani committed Mar 6, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
View
@@ -22,6 +22,9 @@ EXPORTED_FUNCS= -s EXPORTED_FUNCTIONS="['_gcry_strerror','_malloc','_free','__gc
#closure compiler makes exported VFS unusable..
OPTIMISATION= -O2 --closure 0 --llvm-opts 1 --minify 0 -s LINKABLE=1 $(EXPORTED_FUNCS)
+#for google chrome dev, use max O1, dont use llvm-opts
+#OPTIMISATION= -O1 --closure 1 --llvm-opts 0 --minify 0 -s LINKABLE=1 $(EXPORTED_FUNCS)
+
module-optimised:
mkdir -p lib/
$(EMCC) src/jsapi.c -I$(CRYPTO_BUILD)/include -lotr -L$(CRYPTO_BUILD)/lib \

0 comments on commit 8437ee0

Please sign in to comment.