We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac94dfc commit e465362Copy full SHA for e465362
R/Makefile
@@ -38,6 +38,11 @@ WASM_CFLAGS := $(WASM_CFLAGS)
38
WASM_CFLAGS += $(WASM_OPT)
39
WASM_CFLAGS += -fPIC
40
41
+WASM_FFLAGS := $(WASM_FFLAGS)
42
+WASM_FFLAGS += --target=wasm32-unknown-emscripten
43
+WASM_FFLAGS += -O2
44
+WASM_FFLAGS += -fPIC
45
+
46
WASM_LDFLAGS := $(WASM_LDFLAGS)
47
WASM_LDFLAGS += -fwasm-exceptions
48
WASM_LDFLAGS += -s SUPPORT_LONGJMP=wasm
@@ -160,7 +165,7 @@ $(BUILD)/state/R-$(R_VERSION)/r-stage2-configured: $(BUILD)/state/R-$(R_VERSION)
160
165
CFLAGS="$(STAGE2_CFLAGS)" \
161
166
LDFLAGS="$(STAGE2_LDFLAGS)" \
162
167
LIBnn="lib" \
163
- FFLAGS="-fPIC" \
168
+ FFLAGS="$(WASM_FFLAGS)" \
164
169
FPICFLAGS="-fPIC" \
170
FC="$(EMFC)" \
171
emconfigure ../configure \
0 commit comments