Skip to content

Commit 7d39758

Browse files
committed
Improve Makefile
1 parent 51e6f03 commit 7d39758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ tinywasm:
160160
-tags wasm \
161161
-no-debug \
162162
-stack-size 512kB \
163+
-ldflags="-X \"main.Version=$(VERSION)\" -X \"main.Revision=$(REVISION)\"" \
163164
-o $(BIN_WASM) $(TARGET_WASM)
164165

165166

0 commit comments

Comments
 (0)