Skip to content

Commit ba13392

Browse files
committed
fix(emscripten): disable WASM to make 1.38.12 work - #85
1 parent 4377b88 commit ba13392

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libsass/Makefile.patch

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- Makefile.orig 2015-09-09 14:30:05.000000000 +0300
22
+++ Makefile 2015-09-09 14:36:59.000000000 +0300
3-
@@ -208,6 +208,35 @@
3+
@@ -208,6 +208,37 @@
44
debug-shared: CXXFLAGS := -g -DDEBUG -DDEBUG_LVL="$(DEBUG_LVL)" $(filter-out -O2,$(CXXFLAGS))
55
debug-shared: shared
66

@@ -9,6 +9,7 @@
99
+ -O3 \
1010
+ -s EXPORTED_FUNCTIONS="['_sass_compile_emscripten']" \
1111
+ -s EXTRA_EXPORTED_RUNTIME_METHODS=@../exported_runtime_methods.json \
12+
+ -s WASM=0 \
1213
+ -s DISABLE_EXCEPTION_CATCHING=0 \
1314
+ -s ALLOW_MEMORY_GROWTH=1 \
1415
+ -s EMTERPRETIFY=1 \
@@ -21,6 +22,7 @@
2122
+ -O0 \
2223
+ -s EXPORTED_FUNCTIONS="['_sass_compile_emscripten']" \
2324
+ -s EXTRA_EXPORTED_RUNTIME_METHODS=@../exported_runtime_methods.json \
25+
+ -s WASM=0 \
2426
+ -s DISABLE_EXCEPTION_CATCHING=0 \
2527
+ -s ALLOW_MEMORY_GROWTH=1 \
2628
+ -s EMTERPRETIFY=1 \

0 commit comments

Comments
 (0)