Skip to content

Commit f04d351

Browse files
committed
get optimizations working
1 parent e0b6632 commit f04d351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ EMCC=$(EMSCRIPTEN)/emcc
55
all: sql.js
66

77
sql.js: sqlite3.c
8-
$(EMCC) sqlite3.c --post-js bindings.js -o sql.js
8+
$(EMCC) -O2 sqlite3.c --post-js bindings.js -o sql.js -s EXPORTED_FUNCTIONS="['_sqlite3_open', '_sqlite3_close', '_sqlite3_exec']"
99

0 commit comments

Comments
 (0)