projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7cd2a
)
Add a NOSTRIP make variable to allow the wasm runtime to be compiled without strippin...
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 5 Jan 2021 09:06:28 +0000
(
04:06
-0500)
committer
GitHub
<noreply@github.com>
Tue, 5 Jan 2021 09:06:28 +0000
(10:06 +0100)
src/mono/wasm/Makefile
patch
|
blob
|
history
diff --git
a/src/mono/wasm/Makefile
b/src/mono/wasm/Makefile
index
7f6835d
..
a1f1752
100644
(file)
--- a/
src/mono/wasm/Makefile
+++ b/
src/mono/wasm/Makefile
@@
-67,7
+67,11
@@
endif
EMCC_DEBUG_FLAGS =-g -Os -s ASSERTIONS=1 -DENABLE_NETCORE=1 -DDEBUG=1
EMCC_RELEASE_FLAGS=-Oz --llvm-opts 2 -DENABLE_NETCORE=1
+ifeq ($(NOSTRIP),)
STRIP_CMD=&& $(EMSDK_PATH)/upstream/bin/wasm-opt --strip-dwarf $(NATIVE_BIN_DIR)/dotnet.wasm -o $(NATIVE_BIN_DIR)/dotnet.wasm
+else
+STRIP_CMD=
+endif
#
# Wasm builds