summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-06 11:11:14 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-06 11:11:14 +0800
commit09193e4314646990c7b490bb745fd5077415462a (patch)
treeb230c3f62416073d851ff626ff62a6926ce36c5e
parent3d67e186c27b9fe01c0bcd12b055b5bc6aaa0cd1 (diff)
Emscripten configure wrapper
-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