Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/compile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

emcc -O2 -s EMULATE_FUNCTION_POINTER_CASTS=1 \
emcc -Oz -s WASM=0 -s EMULATE_FUNCTION_POINTER_CASTS=1 \
--memory-init-file 0 \
./build/xmllint.o ./build/.libs/libxml2.a ./libz.a \
-o xmllint.raw.js --pre-js ./src/pre.js
Expand Down
2 changes: 1 addition & 1 deletion script/libxml2
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ mkdir -p ./libxml2/m4
cd ./libxml2
autoreconf -if -Wall
cd ../build
emconfigure ../libxml2/configure --with-http=no --with-ftp=no --with-python=no --with-threads=no
emconfigure ../libxml2/configure --with-minimum=yes --with-python=no --with-threads=no --with-schemas=yes
emmake make
cd ..
30 changes: 18 additions & 12 deletions xmllint.js

Large diffs are not rendered by default.