summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xwasm-unknown-emscripten-configure4
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e54c181..7b3df9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
*.lo
*.o
*.swp
+*.wasm
.deps
.libs
Makefile
diff --git a/wasm-unknown-emscripten-configure b/wasm-unknown-emscripten-configure
new file mode 100755
index 0000000..f84b40a
--- /dev/null
+++ b/wasm-unknown-emscripten-configure
@@ -0,0 +1,4 @@
+#!/bin/sh
+export CPPFLAGS="$CPPFLAGS -DDEBUG"
+export CFLAGS="$CFLAGS -g"
+emconfigure ./configure --prefix=$EMSDK/upstream/emscripten/system --disable-shared