Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sdks
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2018-09-12 20:36:11 +0300
committerLudovic Henry <luhenry@microsoft.com>2018-09-12 20:36:11 +0300
commit5db745545aad7663ae890c289fd99fbe2571798d (patch)
treea53dd78cc005651c2bfb31b095a88cd0ac2c79e5 /sdks
parentb6f4cc72b80f6c4542ba462b647ecf78e01b32ce (diff)
[wasm] Pass ac_cv_func_shm_open_working_with_mmap=no to the wasm runtime's configure. Fixes compilation on linux. (#10563)
Diffstat (limited to 'sdks')
-rw-r--r--sdks/builds/wasm.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/sdks/builds/wasm.mk b/sdks/builds/wasm.mk
index f84c2f9098b..ba11780bde1 100644
--- a/sdks/builds/wasm.mk
+++ b/sdks/builds/wasm.mk
@@ -1,6 +1,9 @@
#emcc has lots of bash'isms
SHELL:=/bin/bash
+WASM_RUNTIME_AC_VARS= \
+ ac_cv_func_shm_open_working_with_mmap=no
+
WASM_RUNTIME_CONFIGURE_FLAGS = \
--cache-file=$(TOP)/sdks/builds/wasm-runtime.config.cache \
--prefix=$(TOP)/sdks/out/wasm-runtime \
@@ -35,7 +38,7 @@ $(TOP)/sdks/builds/toolchains/emsdk:
.stamp-wasm-runtime-configure: $(TOP)/configure
mkdir -p $(TOP)/sdks/builds/wasm-runtime
- cd $(TOP)/sdks/builds/wasm-runtime && source $(TOP)/sdks/builds/toolchains/emsdk/emsdk_env.sh && CFLAGS="-Os -g" emconfigure $(TOP)/configure $(WASM_RUNTIME_CONFIGURE_FLAGS)
+ cd $(TOP)/sdks/builds/wasm-runtime && source $(TOP)/sdks/builds/toolchains/emsdk/emsdk_env.sh && CFLAGS="-Os -g" emconfigure $(TOP)/configure $(WASM_RUNTIME_AC_VARS) $(WASM_RUNTIME_CONFIGURE_FLAGS)
touch $@
build-custom-wasm-runtime: