From 8b62c8c44dbc367623c6dfa2c0afca428ea86217 Mon Sep 17 00:00:00 2001 From: Amaan Cheval Date: Mon, 29 Jan 2018 16:56:18 +0530 Subject: [PATCH] Improve name of coverage variable in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ed79f2fa..969cb030 100644 --- a/Makefile +++ b/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