Skip to content

Commit

Permalink
fix(emscripten): disable WASM to make 1.38.12 work - #85
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Sep 22, 2018
1 parent 4377b88 commit ba13392
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libsass/Makefile.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- Makefile.orig 2015-09-09 14:30:05.000000000 +0300
+++ Makefile 2015-09-09 14:36:59.000000000 +0300
@@ -208,6 +208,35 @@
@@ -208,6 +208,37 @@
debug-shared: CXXFLAGS := -g -DDEBUG -DDEBUG_LVL="$(DEBUG_LVL)" $(filter-out -O2,$(CXXFLAGS))
debug-shared: shared

Expand All @@ -9,6 +9,7 @@
+ -O3 \
+ -s EXPORTED_FUNCTIONS="['_sass_compile_emscripten']" \
+ -s EXTRA_EXPORTED_RUNTIME_METHODS=@../exported_runtime_methods.json \
+ -s WASM=0 \
+ -s DISABLE_EXCEPTION_CATCHING=0 \
+ -s ALLOW_MEMORY_GROWTH=1 \
+ -s EMTERPRETIFY=1 \
Expand All @@ -21,6 +22,7 @@
+ -O0 \
+ -s EXPORTED_FUNCTIONS="['_sass_compile_emscripten']" \
+ -s EXTRA_EXPORTED_RUNTIME_METHODS=@../exported_runtime_methods.json \
+ -s WASM=0 \
+ -s DISABLE_EXCEPTION_CATCHING=0 \
+ -s ALLOW_MEMORY_GROWTH=1 \
+ -s EMTERPRETIFY=1 \
Expand Down

0 comments on commit ba13392

Please sign in to comment.