Improve name of coverage variable in Makefile
This commit is contained in:
parent
4fd252936f
commit
8b62c8c44d
4
Makefile
4
Makefile
|
@ -6,7 +6,7 @@ COVERAGE_DIR=./tests/coverage
|
|||
|
||||
# Enable manually and recompile v86-debug.wasm for coverage-enabled tests
|
||||
ifeq ($(ENABLE_COV), 1)
|
||||
COVERAGE=--coverage -fprofile-instr-generate
|
||||
CC_COVERAGE_FLAGS=--coverage -fprofile-instr-generate
|
||||
endif
|
||||
|
||||
all: build/v86_all.js
|
||||
|
@ -171,7 +171,7 @@ build/v86-debug.wasm: src/native/*.c src/native/*.h src/native/codegen/*.c src/n
|
|||
-ls -lh build/v86-debug.wasm
|
||||
emcc src/native/*.c src/native/profiler/profiler.c src/native/codegen/codegen.c src/native/*.ll \
|
||||
$(CC_FLAGS) \
|
||||
$(COVERAGE) \
|
||||
$(CC_COVERAGE_FLAGS) \
|
||||
-Os \
|
||||
-o build/v86-debug.wasm
|
||||
ls -lh build/v86-debug.wasm
|
||||
|
|
Loading…
Reference in a new issue