Improve name of coverage variable in Makefile

This commit is contained in:
Amaan Cheval 2018-01-29 16:56:18 +05:30 committed by Fabian
parent 4fd252936f
commit 8b62c8c44d

View file

@ -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